]> git.baikalelectronics.ru Git - kernel.git/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)
commit355363f99ce23fbfba86ea1fabe0890125f4ac57
tree9373ca3e4a484fe4fdac48ae6e6d204c7e560121
parent0d2bffaa9c869fce293df0beb80ba684b641c48c
[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