From: Stefan Richter Date: Wed, 17 Oct 2007 16:04:39 +0000 (+0200) Subject: x86: configure HPET_EMULATE_RTC automatically X-Git-Tag: v2.6.24-rc1~476^2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d9a629430368549b2e46d79076a6174a1e3a2645;p=linux-2.6-omap-h63xx.git x86: configure HPET_EMULATE_RTC automatically It needs to be automatic. The HPET legacy interrupt mode disconnects the RTC interrupt and connects the interrupt of the second HPET channel. [ tglx: arch/x86 adaptation and comment fixup] Signed-off-by: Stefan Richter Signed-off-by: Andi Kleen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 85f958c2f55..43fafe9e9c0 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -473,8 +473,9 @@ config HPET_TIMER . config HPET_EMULATE_RTC - bool "Provide RTC interrupt" + bool depends on HPET_TIMER && RTC=y + default y # Mark as embedded because too many people got it wrong. # The code disables itself when not needed.