diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 13:30:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:30:02 +0100 |
commit | 316da3b3fc8efa9a5d2c99e0d449f01ff38c6aba (patch) | |
tree | bc5ddba05ab44795b39e90079fb088cdfc6e5517 /include/linux | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions