summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/irq.h')
-rw-r--r--include/asm-mips/irq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-mips/irq.h b/include/asm-mips/irq.h
index 4c5191fef..e6bc9ae3c 100644
--- a/include/asm-mips/irq.h
+++ b/include/asm-mips/irq.h
@@ -12,6 +12,15 @@
#ifndef __ASM_MIPS_IRQ_H
#define __ASM_MIPS_IRQ_H
+/*
+ * Actually this is a lie but we hide the local device's interrupts ...
+ */
+#define NR_IRQS 16
+
+#define TIMER_IRQ 0
+
+struct irqaction;
+extern int setup_x86_irq(int irq, struct irqaction * new);
extern void disable_irq(unsigned int);
extern void enable_irq(unsigned int);