Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9a62943 authored by Stefan Richter's avatar Stefan Richter Committed by Thomas Gleixner
Browse files

x86: configure HPET_EMULATE_RTC automatically



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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d1e08474
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.