Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[PARISC] use fls_long in irq.c

parent c4ba7a2e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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;
}