• M
    powerpc: Cleanup vpa code · 40765d2b
    Michael Ellerman 提交于
    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: NMichael Ellerman <michael@ellerman.id.au>
    40765d2b
plpar_wrappers.h 3.1 KB