[PATCH] i386: Don't use the TSC in sched_clock if unstable
authorGuillaume Chazarain <guichaz@gmail.com>
Fri, 16 Mar 2007 20:07:36 +0000 (21:07 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Fri, 16 Mar 2007 20:07:36 +0000 (21:07 +0100)
commit28f36f8fbf5f3718f7095055c1911a67d200dda1
tree347c291d0fc9b9b6bb6ce972563a98b39af2fc51
parent43999d9e4e3133bfe0a55589037796386b012a68
[PATCH] i386: Don't use the TSC in sched_clock if unstable

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9690982b8c2f9a2c65acdc113e758ec356676a3
caused a regression by letting sched_clock use the TSC even when cpufreq
disabled it. This caused scheduling weirdnesses.

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/tsc.c