Re: [PATCH] powerpc/8xx: fix bogus __init on mmu_mapin_ram_chunk()
From: Michael Ellerman
Date: Tue Dec 17 2019 - 23:05:16 EST
On Sat, 2019-12-14 at 08:10:29 UTC, Christophe Leroy wrote:
> Remove __init qualifier for mmu_mapin_ram_chunk() as it is called by
> mmu_mark_initmem_nx() and mmu_mark_rodata_ro() which are not __init
> functions.
>
> At the same time, mark it static as it is only used in this file.
>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Fixes: a2227a277743 ("powerpc/32: Don't populate page tables for block mapped pages except on the 8xx")
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/0601546f23fb70d84b807e73cfe8e789d054c98d
cheers