kernel-hacking-2024-linux-s.../arch/sh/include
Matt Fleming 0c50f6f383 sh: Make the atomic functions safe for irqsoff tracing
The irqsoff tracer uses the atomic_* functions internally, but the
implementations of those functions in arch/sh/include/asm/atomic-irq.h
disable irqs to achieve atomicity. A continuous loop ensues where we
disable interrupts, trace the interrupt disabling, call atomic_*
functions, disable interrupts, trace the interrupt disabling, etc..

The simplest solution to all this is to just convert uses of
local_irq_save()/local_irq_restore() the raw_* equivalents because the
raw_* equivalents don't call trace_hardirqs_on()/trace_hardirqs_off().

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-06-15 00:31:17 +09:00
..
asm sh: Make the atomic functions safe for irqsoff tracing 2009-06-15 00:31:17 +09:00
cpu-common/cpu
cpu-sh2/cpu
cpu-sh2a/cpu sh: Fix UBC setup and registers for SH2A 2009-05-09 00:09:21 +09:00
cpu-sh3/cpu sh: remove old TMU driver 2009-05-12 19:53:14 +09:00
cpu-sh4/cpu sh: sh7722 mode pin definitions 2009-06-11 09:09:19 +03:00
cpu-sh5/cpu sh: Kill off unused SH-5 irq_describe cruft. 2009-05-07 18:17:20 +09:00
mach-common/mach sh: sh7785lcr: fix I2C device address map for 32-bit mode 2009-05-11 16:56:16 +09:00
mach-dreamcast/mach sh: pci: Tidy up the dreamcast PCI support. 2009-04-20 20:22:05 +09:00
mach-landisk/mach
mach-se/mach sh: Add ms7724se (SH7724) board support 2009-05-26 17:01:47 +09:00
mach-sh03/mach