aboutsummaryrefslogtreecommitdiff
path: root/include/asm-s390/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/irq.h')
-rw-r--r--include/asm-s390/irq.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/asm-s390/irq.h b/include/asm-s390/irq.h
new file mode 100644
index 00000000000..916a1aa0b07
--- /dev/null
+++ b/include/asm-s390/irq.h
@@ -0,0 +1,30 @@
+#ifndef _ASM_IRQ_H
+#define _ASM_IRQ_H
+
+#ifdef __KERNEL__
+#include <linux/hardirq.h>
+
+/*
+ * the definition of irqs has changed in 2.5.46:
+ * NR_IRQS is no longer the number of i/o
+ * interrupts (65536), but rather the number
+ * of interrupt classes (2).
+ * Only external and i/o interrupts make much sense here (CH).
+ */
+
+enum interruption_class {
+ EXTERNAL_INTERRUPT,
+ IO_INTERRUPT,
+
+ NR_IRQS,
+};
+
+#define touch_nmi_watchdog() do { } while(0)
+
+struct irqaction;
+struct pt_regs;
+int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
+
+#endif /* __KERNEL__ */
+#endif
+