diff options
author | Tony Lindgren <tony@atomide.com> | 2016-01-14 12:20:47 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-01-22 08:26:08 -0800 |
commit | 0a0b13275558c32bbf6241464a7244b1ffd5afb3 (patch) | |
tree | 5c068e5d0e4708e376283d399ec611db10f6cd06 /drivers/base/module.c | |
parent | a5311d4d13df80bd71a9e47f9ecaf327f478fab1 (diff) |
ARM: OMAP2+: Fix l2_inv_api_params for rodata
We don't want to write to .text, so let's move l2_inv_api_params
to .data and access it via a pointer.
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 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions