]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] Recalibrate cpu_khz [1/2]
authorDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:45 +0000 (19:03 -0700)
committerDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:45 +0000 (19:03 -0700)
commitf82d49cd75acde4a27e181abbaaf41263ba5ca03
tree4c9e99fe077224e678bdd03353d37efe1f5af81e
parent0674cb08dca44b239726df50c10f557493e8c043
[CPUFREQ] Recalibrate cpu_khz [1/2]

We have to recalibrate cpu_khz in order to use the current FID instead the max
FID since some BIOS do not put the processor at maximum frequency at POST.
Also, some BIOS will change the processor frequency at our back after cpu_khz
was calibrate.  Finally, this will fix a long standing bug when we do
something like this:

# rmmod powernow-k7
# modprobe powernow-k7

Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k7.c