summaryrefslogtreecommitdiff
path: root/kernel/mutex-debug.h
diff options
context:
space:
mode:
authorGautham R Shenoy <ego@in.ibm.com>2007-05-09 09:34:04 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 19:30:51 (GMT)
commit5be9361cdff17fc76fa0c3e262ead94158555f16 (patch)
treec0fd48bc0a39a2ba8a71677467f3d4e164b40f65 /kernel/mutex-debug.h
parentbaaca49f415b25fdbe2a8f3c22b39929e450fbfd (diff)
downloadlinux-fsl-qoriq-5be9361cdff17fc76fa0c3e262ead94158555f16.tar.xz
Eliminate lock_cpu_hotplug in kernel/schedc
Eliminate lock_cpu_hotplug from kernel/sched.c and use sched_hotcpu_mutex instead to postpone a hotplug event. In the migration_call hotcpu callback function, take sched_hotcpu_mutex while handling the event CPU_LOCK_ACQUIRE and release it while handling CPU_LOCK_RELEASE event. [akpm@linux-foundation.org: fix deadlock] Signed-off-by: Gautham R Shenoy <ego@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions