summaryrefslogtreecommitdiffstats
path: root/arch/m32r/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-09-17 20:53:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2013-11-13 20:21:46 +0100
commit54197e43a4a9a0f3fc406d72d9815754e84fab1e (patch)
tree70db3c0a63b066ac7a8c9e7fabbb8127d73717da /arch/m32r/include
parentm68k: Simplify low level interrupt handling code (diff)
downloadlinux-54197e43a4a9a0f3fc406d72d9815754e84fab1e.tar.xz
linux-54197e43a4a9a0f3fc406d72d9815754e84fab1e.zip
hardirq: Make hardirq bits generic
There is no reason for per arch hardirq bits. Make them all generic Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20130917183628.534494408@linutronix.de
Diffstat (limited to 'arch/m32r/include')
-rw-r--r--arch/m32r/include/asm/hardirq.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/m32r/include/asm/hardirq.h b/arch/m32r/include/asm/hardirq.h
index 4c31c0ae215e..5f2ac4f64ddf 100644
--- a/arch/m32r/include/asm/hardirq.h
+++ b/arch/m32r/include/asm/hardirq.h
@@ -3,22 +3,6 @@
#define __ASM_HARDIRQ_H
#include <asm/irq.h>
-
-#if NR_IRQS > 256
-#define HARDIRQ_BITS 9
-#else
-#define HARDIRQ_BITS 8
-#endif
-
-/*
- * 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
-
#include <asm-generic/hardirq.h>
#endif /* __ASM_HARDIRQ_H */