summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/irq.h')
-rw-r--r--include/asm-arm/irq.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-arm/irq.h b/include/asm-arm/irq.h
index f7a7a8934..99b949ddb 100644
--- a/include/asm-arm/irq.h
+++ b/include/asm-arm/irq.h
@@ -1,7 +1,19 @@
#ifndef __ASM_ARM_IRQ_H
#define __ASM_ARM_IRQ_H
-#include <asm/irq-no.h>
+#include <asm/arch/irqs.h>
+
+#ifndef NR_IRQS
+#define NR_IRQS 128
+#endif
+
+/*
+ * Use this value to indicate lack of interrupt
+ * capability
+ */
+#ifndef NO_IRQ
+#define NO_IRQ 255
+#endif
extern void disable_irq(unsigned int);
extern void enable_irq(unsigned int);