]> git.baikalelectronics.ru Git - kernel.git/commit
csky: bitops: Remove duplicate __clear_bit define
authorGuenter Roeck <linux@roeck-us.net>
Fri, 17 Sep 2021 04:38:37 +0000 (21:38 -0700)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 15 Oct 2021 23:20:12 +0000 (07:20 +0800)
commitab9e9f168bb437c0c31480903d2a6c726cbb8289
tree5788d35742bc6975dce107aa080aea26bc7237c1
parent30405f753d6be4c14f86a157c182a1a79205d6e4
csky: bitops: Remove duplicate __clear_bit define

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 086cad6de14b ("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: 086cad6de14b ("locking/atomic: simplify non-atomic wrappers")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/include/asm/bitops.h