summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/doublefault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/doublefault.c')
-rw-r--r--arch/x86/kernel/doublefault.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kernel/doublefault.c b/arch/x86/kernel/doublefault.c
index 0d6c657593f8..0b3c616b61a3 100644
--- a/arch/x86/kernel/doublefault.c
+++ b/arch/x86/kernel/doublefault.c
@@ -72,15 +72,4 @@ struct x86_hw_tss doublefault_tss __cacheline_aligned = {
.__cr3 = __pa_nodebug(swapper_pg_dir),
};
-/* dummy for do_double_fault() call */
-void df_debug(struct pt_regs *regs, long error_code) {}
-
-#else /* !CONFIG_X86_32 */
-
-void df_debug(struct pt_regs *regs, long error_code)
-{
- pr_emerg("PANIC: double fault, error_code: 0x%lx\n", error_code);
- show_regs(regs);
- panic("Machine halted.");
-}
#endif