diff options
author | Tony Lindgren <tony@atomide.com> | 2016-01-14 12:20:48 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-01-22 08:26:08 -0800 |
commit | 4da597d16602d14405b71a18d45e1c59f28f0fd2 (patch) | |
tree | 10f0239a8f14538c373a9bf232e8c827e62fad8f /arch/arm/mach-omap2/Makefile.boot | |
parent | 0a0b13275558c32bbf6241464a7244b1ffd5afb3 (diff) |
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-omap2/Makefile.boot')
0 files changed, 0 insertions, 0 deletions