kernel_optimize_test/arch/sh/kernel/cpu/sh3
Matt Fleming f3a8308864 sh: Add a few missing irqflags tracing markers.
save_regs contains an SR modification without an irqflags annotation,
which resulted in a missing TRACE_IRQS_OFF in the interrupt exception
path on SH-3/SH4.

I've also moved the TRACE_IRQS_OFF/ON annotation when returning from the
interrupt to just before we call __restore_all. This seems like the most
logical place to put this because the annotation is for when we restore
the SR register so we should delay the annotation until as last as
possible.

We were also missing a TRACE_IRQS_OFF in resume_kernel when
CONFIG_PREEMPT is enabled.

The end result is that this fixes up the lockdep engine debugging support
with CONFIG_PREEMPT enabled on all SH-3/4 parts.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-08-18 11:35:09 +09:00
..
clock-sh3.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7705.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7706.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7709.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7710.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7712.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
entry.S sh: Add a few missing irqflags tracing markers. 2009-08-18 11:35:09 +09:00
ex.S sh: Generic kgdb stub support. 2008-12-22 18:44:04 +09:00
Makefile sh: hibernation support 2009-03-10 12:55:40 +09:00
pinmux-sh7720.c sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
probe.c sh: Rename SH-3 CCR3 reg to avoid synclink_cs clash. 2008-02-25 18:49:44 +09:00
setup-sh3.c sh: add interrupt ack code to sh3 2008-05-08 19:52:03 +09:00
setup-sh770x.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7705.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7710.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
setup-sh7720.c sh: convert processor device setup functions to arch_initcall() 2009-07-23 13:06:07 +09:00
swsusp.S sh: hibernation support 2009-03-10 12:55:40 +09:00