Skip to content

Commit

Permalink
x86: configure HPET_EMULATE_RTC automatically
Browse files Browse the repository at this point in the history
It needs to be automatic. The HPET legacy interrupt mode disconnects
the RTC interrupt and connects the interrupt of the second HPET channel.

[ tglx: arch/x86 adaptation and comment fixup]

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Stefan Richter authored and Thomas Gleixner committed Oct 17, 2007
1 parent d1e0847 commit d9a6294
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,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.
Expand Down

0 comments on commit d9a6294

Please sign in to comment.