diff options
author | Tony Lindgren <tony@atomide.com> | 2016-01-14 21:20:48 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-01-22 17:26:08 +0100 |
commit | 4da597d16602d14405b71a18d45e1c59f28f0fd2 (patch) | |
tree | 10f0239a8f14538c373a9bf232e8c827e62fad8f /arch/arm/mach-alpine/platsmp.c | |
parent | ARM: OMAP2+: Fix l2_inv_api_params for rodata (diff) | |
download | linux-4da597d16602d14405b71a18d45e1c59f28f0fd2.tar.xz 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 'arch/arm/mach-alpine/platsmp.c')
0 files changed, 0 insertions, 0 deletions