[PATCH] remove special HPET_EMULATE_RTC config option

We had a user whose apps weren't working correctly because his "rtc" wasn't
working fully.

For the sake of simplicity, it seems sensible to always enable HPET RTC
emulation.

Remove a special config option for HPET_EMULATE_RTC and make it directly
depend on HPET_TIMER and RTC. This will avoid the hangs when EMULATE_RTC
is not configured and when some userlevel script depends on RTC interrupt,
as in:

http://bugzilla.kernel.org/show_bug.cgi?id=4904

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Venkatesh Pallipadi and committed by Linus Torvalds c91096d8 1c5ad845

+2 -1
+2 -1
arch/i386/Kconfig
··· 454 Choose N to continue using the legacy 8254 timer. 455 456 config HPET_EMULATE_RTC 457 - bool "Provide RTC interrupt" 458 depends on HPET_TIMER && RTC=y 459 460 config SMP 461 bool "Symmetric multi-processing support"
··· 454 Choose N to continue using the legacy 8254 timer. 455 456 config HPET_EMULATE_RTC 457 + bool 458 depends on HPET_TIMER && RTC=y 459 + default y 460 461 config SMP 462 bool "Symmetric multi-processing support"