Messages in this thread Patch in this message | | | Date | Mon, 21 Jun 2021 13:12:34 +0200 | From | Peter Zijlstra <> | Subject | [PATCH 01/18] x86/entry: Fix noinstr fail in __do_fast_syscall_32() |
| |
vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xf5: call to trace_hardirqs_off() leaves .noinstr.text section
Fixes: 5d5675df792f ("x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> --- arch/x86/entry/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/entry/common.c +++ b/arch/x86/entry/common.c @@ -166,8 +166,8 @@ static noinstr bool __do_fast_syscall_32 /* User code screwed up. */ regs->ax = -EFAULT; - instrumentation_end(); local_irq_disable(); + instrumentation_end(); irqentry_exit_to_user_mode(regs); return false; }
| |