Commit 08aea424 authored by Don Mahurin's avatar Don Mahurin Committed by Philippe Gerum
Browse files

arm64/ipipe: change ffs to ffsl so function works for 64 bit long

parent 3e108e48
......@@ -231,7 +231,7 @@ static inline void ipipe_handle_multi_irq(int irq, struct pt_regs *regs)
static inline unsigned long __ipipe_ffnz(unsigned long ul)
return ffs(ul) - 1;
return __builtin_ffsl(ul) - 1;
#define __ipipe_syscall_watched_p(p, sc) \
Supports Markdown
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