]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Malta: Fix build for non-MIPS32/64 configuration.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 10:54:41 +0000 (11:54 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 Oct 2006 22:20:47 +0000 (23:20 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/malta_int.c

index ed221dc7f6ace1ca4dfced4dfb3da6a3767e5c62..6244d0e2c7de371a4d48d95a04fe39f0d5b53e6b 100644 (file)
@@ -212,23 +212,23 @@ static inline unsigned int irq_ffs(unsigned int pending)
        unsigned int a0 = 7;
        unsigned int t0;
 
-       t0 = s0 & 0xf000;
+       t0 = pending & 0xf000;
        t0 = t0 < 1;
        t0 = t0 << 2;
        a0 = a0 - t0;
-       s0 = s0 << t0;
+       pending = pending << t0;
 
-       t0 = s0 & 0xc000;
+       t0 = pending & 0xc000;
        t0 = t0 < 1;
        t0 = t0 << 1;
        a0 = a0 - t0;
-       s0 = s0 << t0;
+       pending = pending << t0;
 
-       t0 = s0 & 0x8000;
+       t0 = pending & 0x8000;
        t0 = t0 < 1;
        //t0 = t0 << 2;
        a0 = a0 - t0;
-       //s0 = s0 << t0;
+       //pending = pending << t0;
 
        return a0;
 #endif