[CPUFREQ] x86: use num_online_nodes to get physical cpus numbers for
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Thu, 23 Aug 2007 01:44:20 +0000 (18:44 -0700)
committerDave Jones <davej@redhat.com>
Thu, 4 Oct 2007 22:40:56 +0000 (18:40 -0400)
commitc925401b6dc2229adbb15b2f3c9f0f2d9253a5d5
tree8cac9908818a1761babf512ed9ffaa08b7c92160
parent804b3f9a16e446cb023417faec58b6506c834052
[CPUFREQ] x86: use num_online_nodes to get physical cpus numbers for
powernow_k8

[PATCH] x86: use num_online_nodes to get physical cpus numbers for powernow_k8

For opteron based system, don't assume all physical cpus have the same booted cpus even same cores. esp for downcore case.

Signed-off-by: Yinghai Lu <yinghai.sun.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c