From: OGAWA Hirofumi Date: Mon, 3 Dec 2007 16:17:10 +0000 (+0100) Subject: x86: disable hpet legacy replacement for kdump X-Git-Tag: v2.6.24-rc4~3^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c1b2724069951b1902373e688042b2ec382f68f;p=platform%2Fkernel%2Flinux-stable.git x86: disable hpet legacy replacement for kdump we should also add hpet_disable() for kdump. Signed-off-by: OGAWA Hirofumi Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index 8bb482f..9a5fa0a 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -140,5 +141,8 @@ void machine_crash_shutdown(struct pt_regs *regs) #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()); }