[parisc-linux-cvs] fix irq numbering for lasi on 64 bit machines

Richard Hirst rhirst@linuxcare.com
Thu, 4 Oct 2001 15:02:20 +0100


EXTRAVERSION = -pa35
 
Index: drivers/gsc/lasi.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/gsc/lasi.c,v
retrieving revision 1.26
diff -u -r1.26 lasi.c
--- lasi.c      2001/10/02 20:58:42     1.26
+++ lasi.c      2001/10/04 13:53:08
@@ -58,7 +58,11 @@
        default:        irq = -1; break; /* unknown */
        }
 
+#ifdef __LP64__
+       return irq + 32;
+#else
        return irq;
+#endif
 }
 
 static void __init