X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fcrash.c;h=2685538179097a1e8e073ebf07cd49e898ef4f6e;hb=ed09441dacc2a2d6c170aa3b1f79a041291a813f;hp=8bb482ff091b8eeaf54287cce060c664e5bf4046;hpb=b2451e4399d7233cd0008823872f51112d18f8d0;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index 8bb482ff091..26855381790 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c @@ -22,14 +22,12 @@ #include #include #include +#include #include #include +#include -#ifdef CONFIG_X86_32 #include -#else -#include -#endif /* This keeps a track of which one is crashing cpu. */ static int crashing_cpu; @@ -120,7 +118,7 @@ static void nmi_shootdown_cpus(void) } #endif -void machine_crash_shutdown(struct pt_regs *regs) +void native_machine_crash_shutdown(struct pt_regs *regs) { /* This function is only called after the system * has panicked or is otherwise in a critical state. @@ -139,6 +137,9 @@ void machine_crash_shutdown(struct pt_regs *regs) lapic_shutdown(); #if defined(CONFIG_X86_IO_APIC) disable_IO_APIC(); +#endif +#ifdef CONFIG_HPET_TIMER + hpet_disable(); #endif crash_save_cpu(regs, safe_smp_processor_id()); }