powerpc: Move cpu hotplug driver lock from pseries to powerpc
authorNathan Fontenot <nfont@austin.ibm.com>
Thu, 14 Jan 2010 09:52:44 +0000 (09:52 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Jan 2010 02:26:18 +0000 (13:26 +1100)
commitd0174c721900ff807b95ac4ab23191ffcb7511c7
tree7f88a45d99e689d754f7ed4240403622d6ca3128
parent9becd2a0d6a7996669a606b9da33cee6d413acb0
powerpc: Move cpu hotplug driver lock from pseries to powerpc

Move the defintion and lock helper routines for the cpu hotplug driver
lock from pseries to powerpc code to avoid build breaks for platforms
other than pseries that use cpu hotplug.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/pseries/dlpar.c