[PATCH] x86_64: configure HPET_EMULATE_RTC automatically

Stefan Richter
2007-09-15T17:14:07Z

I don't know exactly what this option does...
Andi says it should be automatic rather than exposed as a prompt.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---

--- linux.orig/arch/x86_64/Kconfig
+++ linux/arch/x86_64/Kconfig
@@ -469,8 +469,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.

--
Stefan Richter
-=====-=-=== =--= -====