Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / x86 / kernel / crash.c
index 27157d66f807ac28a56e9619a4a550c62959233b..a55094b5f452d462c0dc1130178f0398195cb68f 100644 (file)
@@ -72,14 +72,6 @@ static inline void cpu_crash_vmclear_loaded_vmcss(void)
 
 static void kdump_nmi_callback(int cpu, struct pt_regs *regs)
 {
-#ifdef CONFIG_X86_32
-       struct pt_regs fixed_regs;
-
-       if (!user_mode(regs)) {
-               crash_fixup_ss_esp(&fixed_regs, regs);
-               regs = &fixed_regs;
-       }
-#endif
        crash_save_cpu(regs, cpu);
 
        /*