Commit 0c2de3c6 authored by Kyle McMartin's avatar Kyle McMartin Committed by Kyle McMartin

[PARISC] use fls_long in irq.c

Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent c4ba7a2e
...@@ -336,11 +336,7 @@ unsigned int txn_alloc_data(unsigned int virt_irq) ...@@ -336,11 +336,7 @@ unsigned int txn_alloc_data(unsigned int virt_irq)
static inline int eirr_to_irq(unsigned long eirr) static inline int eirr_to_irq(unsigned long eirr)
{ {
#ifdef CONFIG_64BIT int bit = fls_long(eirr);
int bit = fls64(eirr);
#else
int bit = fls(eirr);
#endif
return (BITS_PER_LONG - bit) + TIMER_IRQ; return (BITS_PER_LONG - bit) + TIMER_IRQ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment