[CPUFREQ] gx-suspmod.c: use boot_cpu_data instead of current_cpu_data
authorDave Young <hidave.darkstar@gmail.com>
Wed, 21 Nov 2007 22:52:15 +0000 (14:52 -0800)
committerDave Jones <davej@redhat.com>
Thu, 7 Feb 2008 03:57:58 +0000 (22:57 -0500)
commitb25e75899e449456409cfa1a3b042257c03d4355
tree189f8637679d4d94313e1435eb303789db2ba2d8
parente32d22f77666312648735f7cda0a114a8242b9d8
[CPUFREQ] gx-suspmod.c: use boot_cpu_data instead of current_cpu_data

In preemptible kernel will report BUG: using smp_processor_id() in
preemptible, so use boot_cpu_data instead of current_cpu_data.

discussion in :
http://lkml.org/lkml/2007/7/25/32

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
CC: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/gx-suspmod.c