]> err.no Git - linux-2.6/commit
[PATCH] Convert kernel/cpu.c to mutexes
authorIngo Molnar <mingo@elte.hu>
Mon, 26 Jun 2006 07:24:32 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:16 +0000 (09:58 -0700)
commit81615b624a45621b758380ec45d750483eae281d
tree9373ca3e4a484fe4fdac48ae6e6d204c7e560121
parent1fb00c6cbd8356f43b46322742f3c01c2a1f02da
[PATCH] Convert kernel/cpu.c to mutexes

Convert kernel/cpu.c from semaphore to mutex.

I've reviewed all lock_cpu_hotplug() critical sections, and they all seem to
fit mutex semantics.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpu.c