aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-10-17 12:04:39 -0400
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 14:16:35 -0400
commitd9a629430368549b2e46d79076a6174a1e3a2645 (patch)
tree2b345adda40fdba30b8d358299976c8adf828971
parentd1e084746b0e5806e6345ab31c5b370f8dee2b23 (diff)
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 <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>
-rw-r--r--arch/x86_64/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 85f958c2f555..43fafe9e9c08 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -473,8 +473,9 @@ config HPET_TIMER
473 <http://www.intel.com/hardwaredesign/hpetspec.htm>. 473 <http://www.intel.com/hardwaredesign/hpetspec.htm>.
474 474
475config HPET_EMULATE_RTC 475config HPET_EMULATE_RTC
476 bool "Provide RTC interrupt" 476 bool
477 depends on HPET_TIMER && RTC=y 477 depends on HPET_TIMER && RTC=y
478 default y
478 479
479# Mark as embedded because too many people got it wrong. 480# Mark as embedded because too many people got it wrong.
480# The code disables itself when not needed. 481# The code disables itself when not needed.