hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/kernel/crash_dump.c
....@@ -1,14 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/kernel.h>
23 #include <linux/crash_dump.h>
34 #include <linux/init.h>
45 #include <linux/errno.h>
56 #include <linux/export.h>
6
-
7
-/*
8
- * If we have booted due to a crash, max_pfn will be a very low value. We need
9
- * to know the amount of memory that the previous kernel used.
10
- */
11
-unsigned long saved_max_pfn;
127
138 /*
149 * stores the physical address of elf header of crash image