• Tony Lindgren's avatar
    ARM: OMAP2+: Fix l2_inv_api_params for rodata · 0a0b1327
    Tony Lindgren authored
    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: default avatarNicolas Pitre <nico@linaro.org>
    Cc: stable@vger.kernel.org # v4.0+
    Fixes: 1e6b4811 ("ARM: mm: allow non-text sections to be
    non-executable")
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    0a0b1327
sleep34xx.S 15.6 KB