[PARISC] use fls_long in irq.c
authorKyle McMartin <kyle@parisc-linux.org>
Sun, 31 Dec 2006 00:24:37 +0000 (19:24 -0500)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 06:00:25 +0000 (01:00 -0500)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/irq.c

index b39c5b9aff463d5efcf41dda4fe2474b27b97052..e9d09b020e865ca2a2c875bc76a0d81929679a72 100644 (file)
@@ -336,11 +336,7 @@ unsigned int txn_alloc_data(unsigned int virt_irq)
 
 static inline int eirr_to_irq(unsigned long eirr)
 {
-#ifdef CONFIG_64BIT
-       int bit = fls64(eirr);
-#else
-       int bit = fls(eirr);
-#endif
+       int bit = fls_long(eirr);
        return (BITS_PER_LONG - bit) + TIMER_IRQ;
 }