diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-10-30 16:17:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-01 10:08:38 +0100 |
commit | 547333d3c27882bae37ee5833d2dac6f31c29c97 (patch) | |
tree | 5c72522fb0dad22a8ec8e2f8a8994e5fb569612a /include | |
parent | 7cc3427c894847f3e43bc43b5aa0bd3cf460a2cc (diff) | |
download | barebox-547333d3c27882bae37ee5833d2dac6f31c29c97.tar.gz barebox-547333d3c27882bae37ee5833d2dac6f31c29c97.tar.xz |
include: <linux/bitops.h>: discard left-over hweight code
There are no definitions for __sw_hweight*, so no point in keeping the
prototypes around. The scripts version of the header also ultimately
tries to access non-existing normal headers, so fix that up as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211030141739.2207431-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bitops.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 31345c219d..dd13bf9311 100644 --- a/include/linux/bitops.h +++ b/include/linux/bitops.h @@ -24,11 +24,6 @@ #define GENMASK_ULL(h, l) \ (((~0ULL) << (l)) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h)))) -extern unsigned int __sw_hweight8(unsigned int w); -extern unsigned int __sw_hweight16(unsigned int w); -extern unsigned int __sw_hweight32(unsigned int w); -extern unsigned long __sw_hweight64(__u64 w); - /* * Include this here because some architectures need generic_ffs/fls in * scope |