aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 07:30:02 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:02 -0500
commit316da3b3fc8efa9a5d2c99e0d449f01ff38c6aba (patch)
treebc5ddba05ab44795b39e90079fb088cdfc6e5517 /include/linux/clocksource.h
parentdf619e6bafeb8e129aba3173d384544d7fa6e3c2 (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/clocksource.h')
0 files changed, 0 insertions, 0 deletions