summaryrefslogtreecommitdiff
path: root/include/linux/log2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/log2.h')
-rw-r--r--include/linux/log2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/log2.h b/include/linux/log2.h
index 6fecd39..1f977d6 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -184,7 +184,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
__rounddown_pow_of_two(n) \
)
-static inline __attribute_const__
+static inline __attribute__((const))
int __get_order(unsigned long size)
{
int order;