[PARISC] use fls_long in irq.c
Kyle McMartin [Sun, 31 Dec 2006 00:24:37 +0000 (19:24 -0500)]
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>

arch/parisc/kernel/irq.c

index b39c5b9..e9d09b0 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;
 }