diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-12 21:26:35 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-04-12 21:26:35 +0000 |
commit | 68e5bbe64a72353822a736846c037575e3ffaab1 (patch) | |
tree | 120edf96ab6b9e6f1cd4713101cc7353a2ab790b | |
parent | acc376bc74201609a348fe00534d06e6780b4a91 (diff) |
Move the irq to swlevel mappings a little bit to make space for the
inter cpu intrs at the same level as IRIX.
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-irq.c | 7 |
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) { |