From 68e5bbe64a72353822a736846c037575e3ffaab1 Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Wed, 12 Apr 2000 21:26:35 +0000 Subject: Move the irq to swlevel mappings a little bit to make space for the inter cpu intrs at the same level as IRIX. --- arch/mips64/sgi-ip27/ip27-irq.c | 7 ++++--- 1 file 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) { -- cgit v1.2.3