summaryrefslogtreecommitdiff
path: root/include/linux/irqnr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irqnr.h')
-rw-r--r--include/linux/irqnr.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/irqnr.h b/include/linux/irqnr.h
index de66e4e10406..887477bc2ab0 100644
--- a/include/linux/irqnr.h
+++ b/include/linux/irqnr.h
@@ -23,15 +23,9 @@
#else /* CONFIG_GENERIC_HARDIRQS */
-#include <asm/irq_vectors.h> /* need possible max_nr_irqs() */
-
extern int nr_irqs;
extern struct irq_desc *irq_to_desc(unsigned int irq);
-# ifndef max_nr_irqs
-# define max_nr_irqs(nr_cpus) NR_IRQS
-# endif
-
# define for_each_irq_desc(irq, desc) \
for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \
irq++, desc = irq_to_desc(irq)) \