From: Thomas Gleixner Date: Wed, 30 Jan 2008 12:30:02 +0000 (+0100) Subject: x86: restrict PIT clocksource usage X-Git-Tag: v2.6.25-rc1~1143^2~879 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316da3b3fc8efa9a5d2c99e0d449f01ff38c6aba;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed