summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/fetch_add_unless
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-05-11 21:41:49 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-05-12 11:04:17 +0200
commitcdd28ad2d8110099e43527e96d059c5639809680 (patch)
treeb2a1ae4076ae31723d3ba292f7aa59c4379d8942 /scripts/atomic/fallbacks/fetch_add_unless
parent88f1be32068d4323aa31236452352d6019a03ccc (diff)
READ_ONCE: Use data_race() to avoid KCSAN instrumentation
Rather then open-code the disabling/enabling of KCSAN across the guts of {READ,WRITE}_ONCE(), defer to the data_race() macro instead. Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Marco Elver <elver@google.com> Link: https://lkml.kernel.org/r/20200511204150.27858-18-will@kernel.org
Diffstat (limited to 'scripts/atomic/fallbacks/fetch_add_unless')
0 files changed, 0 insertions, 0 deletions