]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit901275af21753b8138996cff504cb02e35d7e469
tree0561deb82729c1c617ed1d8f302b6179aea14062
parentf9bfccb45d05bc66192f74d4226ef175a6e0f1b8
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