]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Handle per-subsystem mutexes for CONFIG_HOTPLUG_CPU not set
authorGautham R Shenoy <ego@in.ibm.com>
Thu, 7 Dec 2006 04:38:58 +0000 (20:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:41 +0000 (08:39 -0800)
commit13e26878044c3fb005c4d7f925512821f9ebb7b8
tree2fc9e50d6c796d48de577ee4b0704326337771ed
parent7b4e2a9766a63c35bdb0d6262b4e35c433f661d6
[PATCH] Handle per-subsystem mutexes for CONFIG_HOTPLUG_CPU not set

Provide a common interface for all the subsystems to lock and unlock their
per-subsystem hotcpu mutexes.

When CONFIG_HOTPLUG_CPU is not set, these operations would be no-ops.

[akpm@osdl.org: macros -> inlines]
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/cpu.h