summary refs log tree commit diff
path: root/include/asm-generic/bitops/builtin-ffs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/bitops/builtin-ffs.h')
-rw-r--r--include/asm-generic/bitops/builtin-ffs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-generic/bitops/builtin-ffs.h b/include/asm-generic/bitops/builtin-ffs.h
index 458c85ebcd15..1dacfdb4247e 100644
--- a/include/asm-generic/bitops/builtin-ffs.h
+++ b/include/asm-generic/bitops/builtin-ffs.h
@@ -10,9 +10,6 @@
  * the libc and compiler builtin ffs routines, therefore
  * differs in spirit from the above ffz (man ffs).
  */
-static __always_inline int ffs(int x)
-{
-	return __builtin_ffs(x);
-}
+#define ffs(x) __builtin_ffs(x)
 
 #endif