aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000/pb1200/irqmap.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-14 20:00:06 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-16 13:23:48 -0400
commit56f621c7f6f735311eed3f36858b402013023c18 (patch)
tree0aea37bf1b830f029ebca99d2608deec33b7516c /arch/mips/au1000/pb1200/irqmap.c
parent41bd61a8e357f79dc65502b22d9d124a619491c0 (diff)
[MIPS] Alchemy: Get rid of au_ffs().
It was plain a bad idea ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/pb1200/irqmap.c')
-rw-r--r--arch/mips/au1000/pb1200/irqmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/pb1200/irqmap.c b/arch/mips/au1000/pb1200/irqmap.c
index 7c708db04a88..aa85eedf7c0d 100644
--- a/arch/mips/au1000/pb1200/irqmap.c
+++ b/arch/mips/au1000/pb1200/irqmap.c
@@ -74,7 +74,7 @@ irqreturn_t pb1200_cascade_handler( int irq, void *dev_id)
74 bcsr->int_status = bisr; 74 bcsr->int_status = bisr;
75 for( ; bisr; bisr &= (bisr-1) ) 75 for( ; bisr; bisr &= (bisr-1) )
76 { 76 {
77 extirq_nr = (PB1200_INT_BEGIN-1) + au_ffs(bisr); 77 extirq_nr = PB1200_INT_BEGIN + au_ffs(bisr);
78 /* Ack and dispatch IRQ */ 78 /* Ack and dispatch IRQ */
79 do_IRQ(extirq_nr); 79 do_IRQ(extirq_nr);
80 } 80 }