• Tony Lindgren's avatar
    ARM: OMAP2+: Fix wait_dll_lock_timed for rodata · 11c9834a
    Tony Lindgren authored
    commit d9db5910 upstream.
    
    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>
    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 avatarKamal Mostafa <kamal@canonical.com>
    11c9834a
sleep34xx.S 15 KB