提交 0c2de3c6 编写于 作者: K Kyle McMartin 提交者: Kyle McMartin

[PARISC] use fls_long in irq.c

Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 c4ba7a2e
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册