diff options
Diffstat (limited to 'arch/x86/kernel/crash.c')
-rw-r--r-- | arch/x86/kernel/crash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index 18677a90d6a3..507de8066594 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * | 7 | * |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/init.h> | ||
11 | #include <linux/types.h> | 10 | #include <linux/types.h> |
12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
13 | #include <linux/smp.h> | 12 | #include <linux/smp.h> |
@@ -58,9 +57,7 @@ static void kdump_nmi_callback(int cpu, struct pt_regs *regs) | |||
58 | { | 57 | { |
59 | #ifdef CONFIG_X86_32 | 58 | #ifdef CONFIG_X86_32 |
60 | struct pt_regs fixed_regs; | 59 | struct pt_regs fixed_regs; |
61 | #endif | ||
62 | 60 | ||
63 | #ifdef CONFIG_X86_32 | ||
64 | if (!user_mode_vm(regs)) { | 61 | if (!user_mode_vm(regs)) { |
65 | crash_fixup_ss_esp(&fixed_regs, regs); | 62 | crash_fixup_ss_esp(&fixed_regs, regs); |
66 | regs = &fixed_regs; | 63 | regs = &fixed_regs; |