https://github.com/torvalds/linux
Revision fb5d69a5cd7865a733c2c1f26e2e3b75f59ce00d authored by Guenter Roeck on 17 September 2021, 04:38:37 UTC, committed by Guo Ren on 15 October 2021, 23:20:12 UTC
Building csky:allmodconfig results in the following build error.

In file included from ./include/linux/bitops.h:33,
                 from ./include/linux/log2.h:12,
                 from kernel/bounds.c:13:
./arch/csky/include/asm/bitops.h:77: error: "__clear_bit" redefined

Since commit 9248e52fec95 ("locking/atomic: simplify non-atomic wrappers"),
__clear_bit is defined in include/asm-generic/bitops/non-atomic.h,
and the define in the csky include file is no longer necessary or useful.
Remove it.

Fixes: 9248e52fec95 ("locking/atomic: simplify non-atomic wrappers")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guo Ren <guoren@kernel.org>
1 parent aeba0b8
History
Tip revision: fb5d69a5cd7865a733c2c1f26e2e3b75f59ce00d authored by Guenter Roeck on 17 September 2021, 04:38:37 UTC
csky: bitops: Remove duplicate __clear_bit define
Tip revision: fb5d69a
File Mode Size
include
.gitignore -rw-r--r-- 96 bytes
Kconfig -rw-r--r-- 7.7 KB
Makefile -rw-r--r-- 2.9 KB
default_cpio_list -rw-r--r-- 153 bytes
gen_init_cpio.c -rw-r--r-- 12.8 KB
gen_initramfs.sh -rwxr-xr-x 5.7 KB
initramfs_data.S -rw-r--r-- 1.2 KB

back to top