summaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-07-14 16:51:22 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-07-18 18:51:35 +1000
commitfa7f9189e017213bad63b93a76de5c715cd62a96 (patch)
tree9e9fb6eda98403580b55963540c6546d1dab4c69 /ipc/mqueue.c
parentb134bd90286dc9f2952c35a91ab405474ca9374c (diff)
downloadlinux-fa7f9189e017213bad63b93a76de5c715cd62a96.tar.bz2
powerpc/mm/hash: Refactor hash__mark_rodata_ro()
Move the core logic into a helper, so we can use it for changing other permissions. 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@ellerman.id.au> Reviewed-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions