aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/include/asm/hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/include/asm/hardirq.h')
-rw-r--r--arch/ia64/include/asm/hardirq.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/arch/ia64/include/asm/hardirq.h b/arch/ia64/include/asm/hardirq.h
index 140e495b8e0..8fb7d33a661 100644
--- a/arch/ia64/include/asm/hardirq.h
+++ b/arch/ia64/include/asm/hardirq.h
@@ -6,12 +6,6 @@
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
-
-#include <linux/threads.h>
-#include <linux/irq.h>
-
-#include <asm/processor.h>
-
/*
* No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure.
*/
@@ -20,15 +14,10 @@
#define local_softirq_pending() (local_cpu_data->softirq_pending)
-#define HARDIRQ_BITS 14
+#include <linux/threads.h>
+#include <linux/irq.h>
-/*
- * 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/processor.h>
extern void __iomem *ipi_base_addr;