[SPARC32]: Add irqflags.h to sparc32 and use it from generic code.
authorRobert Reif <reif@earthlink.net>
Thu, 27 Sep 2007 20:15:31 +0000 (13:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 14 Oct 2007 04:53:11 +0000 (21:53 -0700)
commite8dd16129fad13e5b8b05b6a0a02d10d06f30301
tree005f972c998e36e2869fb8cf773be087fe0203a4
parent72be7e542c67a5a134e99ba19d1846498ef8f9d2
[SPARC32]: Add irqflags.h to sparc32 and use it from generic code.

Added asm-sparc/irqflags.h and moved irq related code from system.h to it.
Renamed local_irq functions to raw_local_irq in irq.c.
Modified system.h to include linux/irqflags.h which includes asm/irqflags.h.
Added TRACE_IRQFLAGS_SUPPORT to Kconfig.debug.

This is the first step in adding IRQ-flags state tracing as outlined in
Documentation/irqflags-tracing.txt.  These changes should be harmless
because they just move things around and rename them.

The next step is making the lowlevel entry code modifications which
to be honest are beyond my capabilities at this point.

Boot tested on an ss20 running an SMP kernel.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig.debug
arch/sparc/kernel/irq.c
include/asm-sparc/irqflags.h [new file with mode: 0644]
include/asm-sparc/system.h