diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-09-04 13:48:30 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-11-01 13:01:40 +0300 |
commit | c0df10812835040e261b915f04887b0cf0411851 (patch) | |
tree | a0434c7bea3a341cce285df803fbf99c09900932 /scripts/atomic/fallbacks/add_unless | |
parent | 8d32588077bdc390420cfa6946f407033a20d7a8 (diff) | |
download | linux-c0df10812835040e261b915f04887b0cf0411851.tar.xz |
arm64, locking/atomics: Use instrumented atomics
Now that the generic atomic headers provide instrumented wrappers of all
the atomics implemented by arm64, let's migrate arm64 over to these.
The additional instrumentation will help to find bugs (e.g. when fuzzing
with Syzkaller).
Mostly this change involves adding an arch_ prefix to a number of
function names and macro definitions. When LSE atomics are used, the
out-of-line LL/SC atomics will be named __ll_sc_arch_atomic_${OP}.
Adding the arch_ prefix requires some whitespace fixups to keep things
aligned. Some other unusual whitespace is fixed up at the same time
(e.g. in the cmpxchg wrappers).
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: linuxdrivers@attotech.com
Cc: dvyukov@google.com
Cc: boqun.feng@gmail.com
Cc: arnd@arndb.de
Cc: aryabinin@virtuozzo.com
Cc: glider@google.com
Link: http://lkml.kernel.org/r/20180904104830.2975-7-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/atomic/fallbacks/add_unless')
0 files changed, 0 insertions, 0 deletions