summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips64/sgi-ip27/ip27-irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c
index 5b08c5c22..630f79b88 100644
--- a/arch/mips64/sgi-ip27/ip27-irq.c
+++ b/arch/mips64/sgi-ip27/ip27-irq.c
@@ -66,8 +66,8 @@ unsigned long spurious_count = 0;
* 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 + 10
-#define SWLEVEL_TO_IRQ(s) s - 10
+#define IRQ_TO_SWLEVEL(i) i + 7
+#define SWLEVEL_TO_IRQ(s) s - 7
void disable_irq(unsigned int irq_nr)
{