• Tony Lindgren's avatar
    ARM: OMAP2+: Fix wait_dll_lock_timed for rodata · d9db5910
    Tony Lindgren authored
    We don't want to be writing to .text so it can be set rodata.
    Fix error "Unable to handle kernel paging request at virtual address
    c012396c" in wait_dll_lock_timed if CONFIG_DEBUG_RODATA is selected.
    
    As these counters are for debugging only and unused, we can just
    remove them.
    
    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>
    d9db5910
sleep34xx.S 15 KB