Skip to contentSkip to conversation

RT kernel: HPET emulate RTC and other cleanups

PATCH In review Venkatesh Pallipadi 1 participant 1 message Feb 23, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 RT kernel: HPET emulate RTC and other cleanups

Cleanup HPET RTC emulation based on earlier patch which uses HPET interrupts in normal mode instead of legacy replacement mode. RTC can now coexist with HPET.

arch/x86_64/Kconfig +2 -1
Index: linux-2.6.21-rc-mm/arch/x86_64/Kconfig
===================================================================
@@ -448,6 +448,7 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
 config HPET_TIMER
 	bool
 	default y
+	depends ACPI
 	help
 	  Use the IA-PC HPET (High Precision Event Timer) to manage
 	  time in preference to the PIT and RTC, if a HPET is
@@ -458,7 +459,7 @@ config HPET_TIMER
 
 config HPET_EMULATE_RTC
 	bool "Provide RTC interrupt"
-	depends on HPET_TIMER && RTC=y
+	depends on HPET_TIMER && RTC=y && !GENERIC_TIME
 
 # Mark as embedded because too many people got it wrong.
 # The code disables itself when not needed.
arch/x86_64/kernel/hpet.c +13 -264

319 lines not on this page · raw message