summaryrefslogtreecommitdiffstats
path: root/arch/mips64/sgi-ip27/ip27-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64/sgi-ip27/ip27-irq.c')
-rw-r--r--arch/mips64/sgi-ip27/ip27-irq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c
index 11d39537e..5b08c5c22 100644
--- a/arch/mips64/sgi-ip27/ip27-irq.c
+++ b/arch/mips64/sgi-ip27/ip27-irq.c
@@ -63,10 +63,11 @@ unsigned long spurious_count = 0;
/*
* we need to map irq's up to at least bit 7 of the INT_MASK0_A register
- * since bits 0-6 are pre-allocated for other purposes
+ * since bits 0-6 are pre-allocated for other purposes. 7,8,9 are taken
+ * for intercpu and msc intrs.
*/
-#define IRQ_TO_SWLEVEL(i) i + 7
-#define SWLEVEL_TO_IRQ(s) s - 7
+#define IRQ_TO_SWLEVEL(i) i + 10
+#define SWLEVEL_TO_IRQ(s) s - 10
void disable_irq(unsigned int irq_nr)
{