]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9d89cf19a6fd30e23eb924d28d6f93e78f84e941
treee1c112abeea9de2943133ca22b870634c1713a66
parentbc727833b6c17cd011e4637dbdbf8d32c43c1285
[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