RT kernel: HPET emulate RTC and other cleanups
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.
Signed-off-by Venkatesh Pallipadi <[email protected]>
arch/x86_64/Kconfig +2 -1
@@ -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