summaryrefslogtreecommitdiff
path: root/include/linux/log2.h
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-09 22:20:56 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-09 22:20:56 +0100
commit3217fffd0948de9cdf96fb1bcdfb7419baee8620 (patch)
treed41fe9473271b14607c02f261fbb17cb7ac16113 /include/linux/log2.h
parente523a844d63e998a1291823ff7b5cf05fcc4a427 (diff)
Patches to support musl libc
UTIME_NOW is defined in <sys/stat.h> on glibc and musl. Else, we just need a few headers to get glibc's <sys/cdefs.h> crud.
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 6fecd393..1f977d60 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;