aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/cpu/cpufreq/powernow-k8.h
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-07-28 09:38:21 -0700
committerDave Jones <davej@redhat.com>2005-07-28 09:38:21 -0700
commit03938c3f1062b0f279a0ef937a471d4db83702ed (patch)
tree12e7a40b6f6232d6ddd7b5bd475fe29722cd8f10 /arch/i386/kernel/cpu/cpufreq/powernow-k8.h
parent8ed693d29b25bbd88471ec043cc01581419d0481 (diff)
powernow-k8 requires that a data structure for
each core be created in the _cpu_init function call. The cpufreq infrastructure doesn't call _cpu_init for the second core in each processor. Some systems crashed when _get was called with an odd-numbered core because it tried to dereference a NULL pointer since the data structure had not been created. The attached patch solves the problem by initializing data structures for all shared cores in the _cpu_init function. It should apply to 2.6.12-rc6 and has been tested by AMD and Sun. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/powernow-k8.h')
0 files changed, 0 insertions, 0 deletions