• Tony Lindgren's avatar
    ARM: OMAP2+: Fix save_secure_ram_context for rodata · a5311d4d
    Tony Lindgren authored
    We don't want to write to .text and we can move save_secure_ram_context
    into .data as it all gets copied into SRAM anyways.
    
    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: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
    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>
    a5311d4d
sleep34xx.S 15.5 KB