android_kernel_xiaomi_sdm845/arch/sh
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
..
boards Merge branch 'sh/stable-updates' 2009-08-15 12:59:42 +09:00
boot sh: fix romImage mach dir usage 2009-08-07 03:58:38 +09:00
cchips sh: mach-hp6xx: Fix up the hp6xx build for hd64461 changes. 2009-05-20 11:27:13 +09:00
configs sh: kfr2r09 board support - mach-type and defconfig 2009-07-23 18:43:16 +09:00
drivers sh: pci: Initial PCI-Express support for SH7786 Urquell board. 2009-06-17 18:20:48 +09:00
include sh: Add support for DWARF GNU extensions 2009-08-16 12:48:53 +01:00
kernel sh: Add a few missing irqflags tracing markers. 2009-08-18 11:35:09 +09:00
lib sh: Fix up stack overflow check with ftrace disabled. 2009-07-11 21:06:53 +09:00
lib64 sh: Convert sh64 to use the generic checksum code. 2009-06-15 00:00:42 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: use printk_once 2009-08-13 11:48:08 +09:00
oprofile sh: oprofile: Kill off dead valid_kernel_stack(). 2009-08-14 04:59:50 +09:00
tools sh: kfr2r09 board support - mach-type and defconfig 2009-07-23 18:43:16 +09:00
Kconfig sh: bzip2/lzma zImage support. 2009-07-11 13:21:19 -04:00
Kconfig.cpu sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
Kconfig.debug sh: dwarf unwinder support. 2009-08-14 01:58:43 +09:00
Makefile sh: dwarf unwinder support. 2009-08-14 01:58:43 +09:00