summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/irq.h')
-rw-r--r--include/asm-cris/irq.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/asm-cris/irq.h b/include/asm-cris/irq.h
new file mode 100644
index 0000000..87f3425
--- /dev/null
+++ b/include/asm-cris/irq.h
@@ -0,0 +1,23 @@
+#ifndef _ASM_IRQ_H
+#define _ASM_IRQ_H
+
+#include <asm/arch/irq.h>
+
+extern __inline__ int irq_canonicalize(int irq)
+{
+ return irq;
+}
+
+extern void disable_irq(unsigned int);
+extern void enable_irq(unsigned int);
+
+#define disable_irq_nosync disable_irq
+#define enable_irq_nosync enable_irq
+
+struct irqaction;
+struct pt_regs;
+int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
+
+#endif /* _ASM_IRQ_H */
+
+
OpenPOWER on IntegriCloud