diff options
author | Alexander Lobakin <[email protected]> | 2022-06-24 14:13:06 +0200 |
---|---|---|
committer | Yury Norov <[email protected]> | 2022-06-30 19:52:41 -0700 |
commit | 21bb8af513d35c005c401706030f4eb469538d1d (patch) | |
tree | c20315fff2f3d2fae817b1950b077e7339d01acc /arch/ia64/include/asm/bitops.h | |
parent | e5a16a5c4602c119262f350274021f90465f479d (diff) |
bitops: always define asm-generic non-atomic bitops
Move generic non-atomic bitops from the asm-generic header which
gets included only when there are no architecture-specific
alternatives, to a separate independent file to make them always
available.
Almost no actual code changes, only one comment added to
generic_test_bit() saying that it's an atomic operation itself
and thus `volatile` must always stay there with no cast-aways.
Suggested-by: Andy Shevchenko <[email protected]> # comment
Suggested-by: Marco Elver <[email protected]> # reference to kernel-doc
Signed-off-by: Alexander Lobakin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'arch/ia64/include/asm/bitops.h')
0 files changed, 0 insertions, 0 deletions