Hi Michael,

On Tue, 26 Jul 2016 13:38:38 +1000 Michael Ellerman <m...@ellerman.id.au> wrote:
>
> hpte_init_lpar() is part of the pseries platform, so name it as such.
> 
> Move the fallback implementation for when PSERIES=n into the header,
> dropping the weak implementation. The panic() is now handled by the
> calling code.

Of course, this could have been handled the same way as the native one.

>       else if (firmware_has_feature(FW_FEATURE_LPAR))
        else if (IS_ENABLED(CONFIG_PPC_PSERIES) && 
firmware_has_feature(FW_FEATURE_LPAR))
> -             hpte_init_lpar();
> +             hpte_init_pseries();

and no need to modify the header file.
-- 
Cheers,
Stephen Rothwell
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to