Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86/entry: Fix noinstr fail in __do_fast_syscall_32()

Fix:

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210621120120.467898710@infradead.org

authored by

Peter Zijlstra and committed by
Ingo Molnar
240001d4 31197d3a

+1 -1
+1 -1
arch/x86/entry/common.c
··· 130 130 /* User code screwed up. */ 131 131 regs->ax = -EFAULT; 132 132 133 - instrumentation_end(); 134 133 local_irq_disable(); 134 + instrumentation_end(); 135 135 irqentry_exit_to_user_mode(regs); 136 136 return false; 137 137 }