diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-06-21 14:12:38 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-06-22 14:56:43 +0300 |
commit | 49faa77759b211fff344898edc23bb780707fff5 (patch) | |
tree | 9f36b8c797c3f312f08e12634ec2cdbafb6f0a95 /arch/x86/kernel/amd_nb.c | |
parent | 1f008d46f1243899d27fd034ab5c41985bd16cee (diff) | |
download | linux-49faa77759b211fff344898edc23bb780707fff5.tar.xz |
locking/lockdep: Improve noinstr vs errors
Better handle the failure paths.
vmlinux.o: warning: objtool: debug_locks_off()+0x23: call to console_verbose() leaves .noinstr.text section
vmlinux.o: warning: objtool: debug_locks_off()+0x19: call to __kasan_check_write() leaves .noinstr.text section
debug_locks_off+0x19/0x40:
instrument_atomic_write at include/linux/instrumented.h:86
(inlined by) __debug_locks_off at include/linux/debug_locks.h:17
(inlined by) debug_locks_off at lib/debug_locks.c:41
Fixes: 6eebad1ad303 ("lockdep: __always_inline more for noinstr")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210621120120.784404944@infradead.org
Diffstat (limited to 'arch/x86/kernel/amd_nb.c')
0 files changed, 0 insertions, 0 deletions