diff options
-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) | |||
336 | 336 | ||
337 | static inline int eirr_to_irq(unsigned long eirr) | 337 | static inline int eirr_to_irq(unsigned long eirr) |
338 | { | 338 | { |
339 | #ifdef CONFIG_64BIT | 339 | int bit = fls_long(eirr); |
340 | int bit = fls64(eirr); | ||
341 | #else | ||
342 | int bit = fls(eirr); | ||
343 | #endif | ||
344 | return (BITS_PER_LONG - bit) + TIMER_IRQ; | 340 | return (BITS_PER_LONG - bit) + TIMER_IRQ; |
345 | } | 341 | } |
346 | 342 | ||