summaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops/__ffs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/bitops/__ffs.h')
-rw-r--r--include/asm-generic/bitops/__ffs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/bitops/__ffs.h b/include/asm-generic/bitops/__ffs.h
index 9a3274aecf83..937d7c435575 100644
--- a/include/asm-generic/bitops/__ffs.h
+++ b/include/asm-generic/bitops/__ffs.h
@@ -9,7 +9,7 @@
*
* Undefined if no bit exists, so code should check against 0 first.
*/
-static inline unsigned long __ffs(unsigned long word)
+static __always_inline unsigned long __ffs(unsigned long word)
{
int num = 0;