[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)
commitf7dff2b12654149c9cac8d8c79b6588759edd5a9
tree2fc9e50d6c796d48de577ee4b0704326337771ed
parentd3fa72e4556ec1f04e46a0d561d9e785ecaa173d
[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