summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-18 15:03:16 -0700
committerDavid S. Miller <davem@davemloft.net>2011-03-18 15:03:16 -0700
commit1655068029a6e86682fe97a687db9db0aae5af81 (patch)
treec144b9e9678db82213ae82192f28a1d3bd7e9a9d /arch
parent99759619b27662d1290901228d77a293e6e83200 (diff)
downloadop-kernel-dev-1655068029a6e86682fe97a687db9db0aae5af81.zip
op-kernel-dev-1655068029a6e86682fe97a687db9db0aae5af81.tar.gz
sparc: Provide NO_IRQ definition.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/irq_32.h3
-rw-r--r--arch/sparc/include/asm/irq_64.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/irq_32.h b/arch/sparc/include/asm/irq_32.h
index cbf4801..eced3e3 100644
--- a/arch/sparc/include/asm/irq_32.h
+++ b/arch/sparc/include/asm/irq_32.h
@@ -13,4 +13,7 @@
#define irq_canonicalize(irq) (irq)
extern void __init init_IRQ(void);
+
+#define NO_IRQ 0xffffffff
+
#endif
diff --git a/arch/sparc/include/asm/irq_64.h b/arch/sparc/include/asm/irq_64.h
index 4f09666f..16dcae6d 100644
--- a/arch/sparc/include/asm/irq_64.h
+++ b/arch/sparc/include/asm/irq_64.h
@@ -97,4 +97,6 @@ extern void *softirq_stack[NR_CPUS];
#define __ARCH_HAS_DO_SOFTIRQ
#define ARCH_HAS_NMI_WATCHDOG
+#define NO_IRQ 0xffffffff
+
#endif
OpenPOWER on IntegriCloud