diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-01 13:47:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-01 13:47:10 -0700 |
commit | 17e0a7cb6a254c6d086562e7adf8b7ac24d267f3 (patch) | |
tree | ab933b0fb7dd2030edb6caf1d75495daf73e0363 /kernel | |
parent | bb548bedf5c596f72b6388804b3cbd2f78c9dc98 (diff) | |
parent | 2ca41f555e857ec5beef6063bfa43a17ee76d7ec (diff) | |
download | lwn-17e0a7cb6a254c6d086562e7adf8b7ac24d267f3.tar.gz lwn-17e0a7cb6a254c6d086562e7adf8b7ac24d267f3.zip |
Merge tag 'x86-cleanups-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Ingo Molnar:
"Misc cleanups, with an emphasis on removing obsolete/dead code"
* tag 'x86-cleanups-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/spinlock: Remove obsolete ticket spinlock macros and types
x86/mm: Drop deprecated DISCONTIGMEM support for 32-bit
x86/apb_timer: Drop unused declaration and macro
x86/apb_timer: Drop unused TSC calibration
x86/io_apic: Remove unused function mp_init_irq_at_boot()
x86/mm: Stop printing BRK addresses
x86/audit: Fix a -Wmissing-prototypes warning for ia32_classify_syscall()
x86/nmi: Remove edac.h include leftover
mm: Remove MPX leftovers
x86/mm/mmap: Fix -Wmissing-prototypes warnings
x86/early_printk: Remove unused includes
crash_dump: Remove no longer used saved_max_pfn
x86/smpboot: Remove the last ICPU() macro
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/crash_dump.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/crash_dump.c b/kernel/crash_dump.c index 9c23ae074b40..92da32275af5 100644 --- a/kernel/crash_dump.c +++ b/kernel/crash_dump.c @@ -6,12 +6,6 @@ #include <linux/export.h> /* - * If we have booted due to a crash, max_pfn will be a very low value. We need - * to know the amount of memory that the previous kernel used. - */ -unsigned long saved_max_pfn; - -/* * stores the physical address of elf header of crash image * * Note: elfcorehdr_addr is not just limited to vmcore. It is also used by |