Re: [PATCH] powerpc/mm: fix section mismatch for setup_kup()

2019-05-06 Thread Michael Ellerman
On Mon, 2019-05-06 at 08:10:43 UTC, Christophe Leroy wrote: > commit b28c97505eb1 ("powerpc/64: Setup KUP on secondary CPUs") > moved setup_kup() out of the __init section. As stated in that commit, > "this is only for 64-bit". But this function is also used on PPC32, > where the two functions call

[PATCH] powerpc/mm: fix section mismatch for setup_kup()

2019-05-06 Thread Christophe Leroy
commit b28c97505eb1 ("powerpc/64: Setup KUP on secondary CPUs") moved setup_kup() out of the __init section. As stated in that commit, "this is only for 64-bit". But this function is also used on PPC32, where the two functions called by setup_kup() are in the __init section, so setup_kup() has to e