diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-12-30 19:24:37 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:00:25 -0500 |
commit | 0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d (patch) | |
tree | 5b840a0e2b3419b5e5f72ff4075abbe3c96695c3 /arch | |
parent | c4ba7a2e44188ef22b041515c1198669ed1cc103 (diff) | |
download | linux-stable-0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d.tar.gz linux-stable-0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d.tar.bz2 linux-stable-0c2de3c6c481ba6a537f66c06a55bd5be5a2c99d.zip |
[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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index b39c5b9aff46..e9d09b020e86 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; } |