summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-12-30 19:24:37 -0500
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:00:25 -0500
commit0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d (patch)
tree5b840a0e2b3419b5e5f72ff4075abbe3c96695c3 /arch
parentc4ba7a2e44188ef22b041515c1198669ed1cc103 (diff)
downloadop-kernel-dev-0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d.zip
op-kernel-dev-0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d.tar.gz
[PARISC] use fls_long in irq.c
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/irq.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c
index b39c5b9..e9d09b0 100644
--- a/arch/parisc/kernel/irq.c
+++ b/arch/parisc/kernel/irq.c
@@ -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;
}
OpenPOWER on IntegriCloud