diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2007-12-03 11:17:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-12-03 11:17:10 -0500 |
commit | c86c7fbc829e27e2a4093f98ded9fbd75e515adb (patch) | |
tree | 310d217b4b2e582d84798e65dac309f1d173f1ad /include/asm-x86/hpet.h | |
parent | 92d499d991ec4f5cbd00d6f33967eab9d3ee8d6c (diff) |
x86: disable hpet on shutdown
If HPET was enabled by pci quirks, we use i8253 as initial clockevent
because pci quirks doesn't run until pci is initialized.
The above means the kernel (or something) is assuming HPET legacy
replacement is disabled and can use i8253 at boot.
If we used kexec, it isn't true. So, this patch disables HPET legacy
replacement for kexec in machine_shutdown().
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/hpet.h')
-rw-r--r-- | include/asm-x86/hpet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/hpet.h b/include/asm-x86/hpet.h index b1f3c1ea55d9..ad8d6e758785 100644 --- a/include/asm-x86/hpet.h +++ b/include/asm-x86/hpet.h | |||
@@ -61,6 +61,7 @@ extern unsigned long force_hpet_address; | |||
61 | extern int hpet_force_user; | 61 | extern int hpet_force_user; |
62 | extern int is_hpet_enabled(void); | 62 | extern int is_hpet_enabled(void); |
63 | extern int hpet_enable(void); | 63 | extern int hpet_enable(void); |
64 | extern void hpet_disable(void); | ||
64 | extern unsigned long hpet_readl(unsigned long a); | 65 | extern unsigned long hpet_readl(unsigned long a); |
65 | extern void force_hpet_resume(void); | 66 | extern void force_hpet_resume(void); |
66 | 67 | ||