summaryrefslogtreecommitdiff
path: root/arch/mips/powertv/powertv-clock.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2012-02-15 16:01:42 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-15 21:09:52 +0000
commit8e43a905dd574f54c5715d978318290ceafbe275 (patch)
tree4d2bc5178293689353675105ee37e1c287848f39 /arch/mips/powertv/powertv-clock.h
parent6e2e340b59d2d4e7b6b7f2c2d02b0d5ca4df6458 (diff)
ARM: 7325/1: fix v7 boot with lockdep enabled
Bootup with lockdep enabled has been broken on v7 since b46c0f74657d ("ARM: 7321/1: cache-v7: Disable preemption when reading CCSIDR"). This is because v7_setup (which is called very early during boot) calls v7_flush_dcache_all, and the save_and_disable_irqs added by that patch ends up attempting to call into lockdep C code (trace_hardirqs_off()) when we are in no position to execute it (no stack, MMU off). Fix this by using a notrace variant of save_and_disable_irqs. The code already uses the notrace variant of restore_irqs. Reviewed-by: Nicolas Pitre <nico@linaro.org> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: stable@vger.kernel.org Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/mips/powertv/powertv-clock.h')
0 files changed, 0 insertions, 0 deletions