x86: fix cpufreq + sched_clock() regression
authorPeter Zijlstra <peterz@infradead.org>
Mon, 25 Aug 2008 11:35:06 +0000 (13:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Aug 2008 12:39:19 +0000 (14:39 +0200)
commit52a8968ce95da8469ba0a9b3e4010fe31caf77a3
tree6acffeb98a2f598be29e559a75dbfe5deb5864b3
parentf58899bb0224741eb0409ada67ecafe90ba137ef
x86: fix cpufreq + sched_clock() regression

I noticed that my sched_clock() was slow on a number of machine, so I
started looking at cpufreq.

The below seems to fix the problem for me.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/tsc.c