bitops: wrap non-atomic bitops with a transparent macro
authorAlexander Lobakin <alexandr.lobakin@intel.com>
Fri, 24 Jun 2022 12:13:09 +0000 (14:13 +0200)
committerYury Norov <yury.norov@gmail.com>
Fri, 1 Jul 2022 02:52:41 +0000 (19:52 -0700)
commite69eb9c460f128b71c6b995d75a05244e4b6cc3e
tree0561deb82729c1c617ed1d8f302b6179aea14062
parentbb7379bfa680bd48b468e856475778db2ad866c1
bitops: wrap non-atomic bitops with a transparent macro

In preparation for altering the non-atomic bitops with a macro, wrap
them in a transparent definition. This requires prepending one more
'_' to their names in order to be able to do that seamlessly. It is
a simple change, given that all the non-prefixed definitions are now
in asm-generic.
sparc32 already has several triple-underscored functions, so I had
to rename them ('___' -> 'sp32_').

Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
arch/sparc/include/asm/bitops_32.h
arch/sparc/lib/atomic32.c
include/asm-generic/bitops/instrumented-non-atomic.h
include/asm-generic/bitops/non-instrumented-non-atomic.h
include/linux/bitops.h
tools/include/asm-generic/bitops/non-atomic.h
tools/include/linux/bitops.h