]> err.no Git - linux-2.6/commitdiff
x86: configure HPET_EMULATE_RTC automatically
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 17 Oct 2007 16:04:39 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:35 +0000 (20:16 +0200)
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 <stefanr@s5r6.in-berlin.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86_64/Kconfig

index 85f958c2f555b7f38127cacc9291b3cb76e517b9..43fafe9e9c080db10bc0e5b0e7f52291b35e718a 100644 (file)
@@ -473,8 +473,9 @@ config HPET_TIMER
          <http://www.intel.com/hardwaredesign/hpetspec.htm>.
 
 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.