[POWERPC] Only enable cpu hotplug via RTAS if the required firmware support is found
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 5 Dec 2006 06:52:38 +0000 (17:52 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Dec 2006 04:55:55 +0000 (15:55 +1100)
commit674fa677c01ad0b90237f5cddc8d68502fea5156
tree266926fa89dbe8b854cc552ffc512fe97bdb0361
parent413f7c405a342b0b9370ea7a652b9f0270183bf3
[POWERPC] Only enable cpu hotplug via RTAS if the required firmware support is found

To support cpu hotplug on pseries we require two RTAS tokens.  The cpu
hotplug machinery should only be wired up if these tokens are found in
the device tree.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/hotplug-cpu.c