commit | 316da3b3fc8efa9a5d2c99e0d449f01ff38c6aba | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jan 30 13:30:02 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 30 13:30:02 2008 +0100 |
tree | bc5ddba05ab44795b39e90079fb088cdfc6e5517 | |
parent | df619e6bafeb8e129aba3173d384544d7fa6e3c2 [diff] |
x86: restrict PIT clocksource usage PIT clocksource is registered unconditionally even when HPET is enabled or when PIT is replaced by the local APIC timer. In both cases PIT can not be used as it is stopped and the readout would be stale. Prevent registering PIT in those cases. patch depends on: x86: offer is_hpet_enabled() on !CONFIG_HPET_TIMER too Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>