summaryrefslogtreecommitdiff
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2005-03-07 17:36:28 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-07 17:36:28 -0800
commitabb15663ba1ad1d840510df30a9819cb4d09ce53 (patch)
tree8a403e9ba63ed507176294cee96feed553fa9094 /include/asm-sh
parent48c4c22e7f1a4f8fa91226ad2217157ced837700 (diff)
[PATCH] sh: generic hardirqs
Convert sh to use generic hardirqs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/hardirq.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/asm-sh/hardirq.h b/include/asm-sh/hardirq.h
index ee010848c314..f2fdf0f760e5 100644
--- a/include/asm-sh/hardirq.h
+++ b/include/asm-sh/hardirq.h
@@ -12,15 +12,6 @@ typedef struct {
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
-#define HARDIRQ_BITS 8
-
-/*
- * The hardirq mask has to be large enough to have
- * space for potentially all IRQ sources in the system
- * nesting on a single CPU:
- */
-#if (1 << HARDIRQ_BITS) < NR_IRQS
-# error HARDIRQ_BITS is too low!
-#endif
+extern void ack_bad_irq(unsigned int irq);
#endif /* __ASM_SH_HARDIRQ_H */