Skip to content

Commit

Permalink
[PATCH] remove special HPET_EMULATE_RTC config option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Venkatesh Pallipadi authored and Linus Torvalds committed Aug 4, 2005
1 parent 1c5ad84 commit c91096d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,9 @@ config HPET_TIMER
Choose N to continue using the legacy 8254 timer.

config HPET_EMULATE_RTC
bool "Provide RTC interrupt"
bool
depends on HPET_TIMER && RTC=y
default y

config SMP
bool "Symmetric multi-processing support"
Expand Down

0 comments on commit c91096d

Please sign in to comment.