linux/arch/arm/mach-omap2
Tony Lindgren 4da597d166 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>
2016-01-22 08:26:08 -08:00
..
2013-06-12 08:00:35 -07:00
2015-11-10 14:48:36 -08:00
2014-01-17 12:35:48 -08:00
2014-03-19 10:52:23 +02:00
2015-07-16 00:06:05 -07:00
2013-05-08 17:07:40 -07:00
2015-11-10 14:48:36 -08:00
2015-07-20 10:52:36 -07:00
2015-10-12 10:56:36 -07:00