diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-02 08:45:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-02 09:39:58 +0200 |
commit | 7f1195c63d30ae24f5575336264d74bf39ab06f9 (patch) | |
tree | f49dc4dc1ea8b848f7664fdd5c57460edfb96cd4 /include/linux/bitops.h | |
parent | 84130449b89099e32199f86d547f9f1584601c40 (diff) | |
download | barebox-7f1195c63d30ae24f5575336264d74bf39ab06f9.tar.gz barebox-7f1195c63d30ae24f5575336264d74bf39ab06f9.tar.xz |
treewide: replace __inline__ with inline
inline is preferred over __inline__
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/bitops.h')
-rw-r--r-- | include/linux/bitops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h index be5fd38bd5..f3a740c461 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -54,7 +54,7 @@ extern unsigned long __sw_hweight64(__u64 w); (bit) < (size); \ (bit) = find_next_zero_bit((addr), (size), (bit) + 1)) -static __inline__ int get_bitmask_order(unsigned int count) +static inline int get_bitmask_order(unsigned int count) { int order; @@ -62,7 +62,7 @@ static __inline__ int get_bitmask_order(unsigned int count) return order; /* We could be slightly more clever with -1 here... */ } -static __inline__ int get_count_order(unsigned int count) +static inline int get_count_order(unsigned int count) { int order; |