diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-06-15 18:24:27 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-25 08:24:32 -0700 |
commit | b58e733fd774f3f4b49d9e7640d172a57e35200e (patch) | |
tree | 026b9aa5ed3a6b24ed3b65300d2e2a2b2838af85 /arch | |
parent | 5faafd5685764e4d75376aceac91fdf75b3b16f8 (diff) | |
download | linux-b58e733fd774f3f4b49d9e7640d172a57e35200e.tar.bz2 |
rcu: Fixup noinstr warnings
A KCSAN build revealed we have explicit annoations through atomic_*()
usage, switch to arch_atomic_*() for the respective functions.
vmlinux.o: warning: objtool: rcu_nmi_exit()+0x4d: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x25: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_nmi_enter()+0x4f: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x2a: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: __rcu_is_watching()+0x25: call to __kcsan_check_access() leaves .noinstr.text section
Additionally, without the NOP in instrumentation_begin(), objtool would
not detect the lack of the 'else instrumentation_begin();' branch in
rcu_nmi_enter().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions