]> git.baikalelectronics.ru Git - kernel.git/commit
kcsan: Remove existing special atomic rules
authorMarco Elver <elver@google.com>
Tue, 16 Jun 2020 12:36:24 +0000 (14:36 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:04:48 +0000 (12:04 -0700)
commit3410ab51927428a1624430d04347764be8972c6c
treefb95456a7519cd011f39be32880cb0d9bce2d314
parent524b5af509db29f24a27bfa029791011bbc22c6e
kcsan: Remove existing special atomic rules

Remove existing special atomic rules from kcsan_is_atomic_special()
because they are no longer needed. Since we rely on the compiler
emitting instrumentation distinguishing volatile accesses, the rules
have become redundant.

Let's keep kcsan_is_atomic_special() around, so that we have an obvious
place to add special rules should the need arise in future.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/atomic.h