Skip to content
Commit b25e7589 authored by Dave Young's avatar Dave Young Committed by Dave Jones
Browse files

[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: default avatarDave Young <hidave.darkstar@gmail.com>
CC: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent e32d22f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment