• Michael Ellerman's avatar
    powerpc: Cleanup vpa code · 40765d2b
    Michael Ellerman authored
    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: default avatarMichael Ellerman <michael@ellerman.id.au>
    40765d2b
lpar.c 12.1 KB