projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ba7a2
)
[PARISC] use fls_long in irq.c
author
Kyle McMartin
<kyle@parisc-linux.org>
Sun, 31 Dec 2006 00:24:37 +0000
(19:24 -0500)
committer
Kyle McMartin
<kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 06:00:25 +0000
(
01:00
-0500)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/irq.c
b/arch/parisc/kernel/irq.c
index
b39c5b9
..
e9d09b0
100644
(file)
--- 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;
}