summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorTony Lindgren2016-01-14 21:20:48 +0100
committerTony Lindgren2016-01-22 17:26:08 +0100
commit4da597d16602d14405b71a18d45e1c59f28f0fd2 (patch)
tree10f0239a8f14538c373a9bf232e8c827e62fad8f /fs/anon_inodes.c
parentARM: OMAP2+: Fix l2_inv_api_params for rodata (diff)
downloadkernel-qcow2-linux-4da597d16602d14405b71a18d45e1c59f28f0fd2.tar.gz
kernel-qcow2-linux-4da597d16602d14405b71a18d45e1c59f28f0fd2.tar.xz
kernel-qcow2-linux-4da597d16602d14405b71a18d45e1c59f28f0fd2.zip
ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata
We don't want to write to .text so let's move ppa_zero_params and ppa_por_params to .data and access them via pointers. Note that I have not been able to test as we I don't have a HS omap4 to test with. The code has been changed in similar way as for omap3 though. Cc: Kees Cook <keescook@chromium.org> Cc: Laura Abbott <labbott@redhat.com> Cc: Nishanth Menon <nm@ti.com> Cc: Richard Woodruff <r-woodruff2@ti.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Tero Kristo <t-kristo@ti.com> Acked-by: Nicolas Pitre <nico@linaro.org> Cc: stable@vger.kernel.org # v4.0+ Fixes: 1e6b48116a95 ("ARM: mm: allow non-text sections to be non-executable") Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions