aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorColin Cross <[email protected]>2012-08-15 20:10:50 +0000
committerRafael J. Wysocki <[email protected]>2012-08-17 17:37:01 +0000
commit63c6ba4352009a5f85b32307c001abeb5baebd28 (patch)
treea3cf120e9c5caf74dd4704bc484f0f3930d433fa /arch/powerpc/lib/code-patching.c
parentPM / Runtime: Check device PM QoS setting before "no callbacks" check (diff)
downloadkernel-63c6ba4352009a5f85b32307c001abeb5baebd28.tar.gz
kernel-63c6ba4352009a5f85b32307c001abeb5baebd28.zip
cpuidle: coupled: fix sleeping while atomic in cpu notifier
The cpu hotplug notifier gets called in both atomic and non-atomic contexts, it is not always safe to lock a mutex. Filter out all events except the six necessary ones, which are all sleepable, before taking the mutex. Signed-off-by: Colin Cross <[email protected]> Reviewed-by: Srivatsa S. Bhat <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions