linux/arch/sh/kernel/cpu
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
..
irq sh: Tie sparseirq in to Kconfig. 2009-06-11 10:33:09 +03:00
sh2 sh: Make sure rte delay slots are nopped out on all parts. 2009-08-15 07:41:45 +09:00
sh2a sh: Make sure rte delay slots are nopped out on all parts. 2009-08-15 07:41:45 +09:00
sh3 sh: Add a few missing irqflags tracing markers. 2009-08-18 11:35:09 +09:00
sh4 sh: convert processor device setup functions to arch_initcall() 2009-08-13 11:36:33 +09:00
sh4a sh: convert processor device setup functions to arch_initcall() 2009-08-13 11:36:33 +09:00
sh5 sh: convert processor device setup functions to arch_initcall() 2009-08-13 11:36:33 +09:00
shmobile sh: SuperH Mobile Software Standby support for cpuidle 2009-08-18 10:17:32 +09:00
adc.c
clock-cpg.c sh: use kzalloc() for cpg clocks 2009-06-17 15:39:53 +09:00
clock.c sh: add enable()/disable()/set_rate() to div6 code 2009-06-11 09:12:58 +03:00
hwblk.c sh: Add support for multiple hwblk counters 2009-07-20 04:23:39 +09:00
init.c sh: delay slot future proofing via EXPMASK on SH-4A parts. 2009-08-15 07:43:21 +09:00
Makefile sh: hwblk base implementation 2009-07-05 00:28:39 +09:00
ubc.S fix file specification in comments 2006-10-03 23:01:26 +02:00