• Tony Lindgren's avatar
    ARM: OMAP2+: Fix wait_dll_lock_timed for rodata · 01c7c52c
    Tony Lindgren authored
    [ Upstream commit d9db5910 ]
    
    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>
    Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
    01c7c52c
sleep34xx.S 15 KB