summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/asm/bitops/ffs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/bitops/ffs.h')
-rw-r--r--arch/openrisc/include/asm/bitops/ffs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/bitops/ffs.h b/arch/openrisc/include/asm/bitops/ffs.h
index b4c835d6bc84..536a60ab9cc3 100644
--- a/arch/openrisc/include/asm/bitops/ffs.h
+++ b/arch/openrisc/include/asm/bitops/ffs.h
@@ -10,7 +10,7 @@
#ifdef CONFIG_OPENRISC_HAVE_INST_FF1
-static inline int ffs(int x)
+static inline __attribute_const__ int ffs(int x)
{
int ret;