[PATCH 2/3] powerpc/mm/hash: Refactor hash__mark_rodata_ro()
bsingharora at gmail.com
Tue Jul 18 11:05:31 AEST 2017
On Fri, Jul 14, 2017 at 4:51 PM, Michael Ellerman <mpe at ellerman.id.au> wrote:
> Move the core logic into a helper, so we can use it for changing other
> We also change the logic to align start down, and end up. This means
> calling the function with a range will expand that range to be at
> least 1 mmu_linear_psize page in size. We need that so we can use it
> on __init_begin ... __init_end which is not a full page in size.
> This should always work for _stext/__init_begin, because we align
> __init_begin to _stext + 16M in the linker script.
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Reviewed-by: Balbir Singh <bsingharora at gmail.com>
More information about the Linuxppc-dev