Peter Zijlstra
ca2acbd548
locking/lockdep: Improve noinstr vs errors
...
[ Upstream commit 49faa77759b211fff344898edc23bb780707fff5 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:18 -04:00
..
2019-06-17 12:28:09 +02:00
2019-04-10 10:56:05 +02:00
2019-06-03 12:32:56 +02:00
2020-10-09 08:53:08 +02:00
2020-07-25 21:47:42 +02:00
2017-08-10 12:29:03 +02:00
2021-06-30 08:47:18 -04:00
2020-08-24 18:45:32 -07:00
2020-03-21 09:41:16 +01:00
2018-04-27 09:48:49 +02:00
2021-05-26 12:06:50 +02:00
2021-05-26 12:06:50 +02:00
2021-05-26 12:06:50 +02:00
2021-05-26 12:06:50 +02:00
2020-06-29 12:04:48 -07:00
2020-09-16 16:26:56 +02:00
2021-04-28 13:40:00 +02:00
2019-09-25 10:22:37 +02:00
2019-05-30 11:26:37 -07:00
2020-07-08 16:21:57 -04:00
2021-01-30 13:55:17 +01:00
2020-06-09 09:39:13 -07:00
2017-11-02 11:10:55 +01:00
2021-01-30 13:55:17 +01:00
2017-11-02 11:10:55 +01:00
2021-01-09 13:46:24 +01:00
2020-02-11 13:10:56 +01:00
2019-06-05 17:37:17 +02:00
2020-03-21 16:00:24 +01:00
2019-04-08 11:59:39 +01:00
2019-05-21 11:28:40 +02:00