]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Cleanup vpa code
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 3 Nov 2005 08:34:38 +0000 (19:34 +1100)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 3 Nov 2005 08:34:38 +0000 (19:34 +1100)
commit40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e
tree36f18519c5094495840a1a1c424f24db837eed22
parentc87ef1171db207d9d19f87ad12db92974d95c466
powerpc: Cleanup vpa code

register_vpa() doesn't actually do a VPA register call it just uses the flags
you pass it, so rename it to vpa_call() to be clearer.

We can then define register_vpa() and unregister_vpa() which are both simple
wrappers around vpa_call(). (we'll need unregister_vpa() for kexec soon)

We can then cleanup vpa_init(), and because vpa_init() is only called from
platforms/pseries we remove the definition in asm-ppc64/smp.h.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/plpar_wrappers.h
include/asm-ppc64/smp.h