[PATCH] x86_64: Initialize powernow_data[] for all siblings
authorAndi Kleen <ak@suse.de>
Sat, 25 Mar 2006 15:31:52 +0000 (16:31 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:14:39 +0000 (09:14 -0800)
commitad90573f93533ddf1035b0468ed27b4453e50c46
treee1c112abeea9de2943133ca22b870634c1713a66
parent0085979006fd55ec7c2f721bdaa9af130a08d62a
[PATCH] x86_64: Initialize powernow_data[] for all siblings

I got an oops on a dual core system because the lost tick handler
called cpufreq_get() on core 1 and powernow tried to follow
a NULL powernow_data[] pointer there.

Initialize powernow_data for all cores of a CPU.

Cc: Jacob Shin <jacob.shin@amd.com>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c