powerpc: Fix crash during static key init on ppc32

Michael Ellerman patch-notifications at ellerman.id.au
Thu Aug 11 21:16:44 AEST 2016


On Wed, 2016-10-08 at 07:27:34 UTC, Benjamin Herrenschmidt wrote:
> We cannot do those initializations from apply_feature_fixups() as
> this function runs in a very restricted environment in 32-bit where
> the kernel isn't running at its linked address and the PTRRELOC()
> macro must be used for any global accesss.
> 
> Instead, split them into a separtate steup_feature_keys() function
> which is called in a more suitable spot on ppc32.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/97f6e0cc35026a2a09147a6da6

cheers


More information about the Linuxppc-dev mailing list