The recent commit which fixed the entry/exit mismatch on failed 32-bit syscalls got the ordering vs. instrumentation_end() wrong, which makes objtool complain about tracer invocation in an instrumentation disabled region. Stick the offending local_irq_disable() into the instrumentation enabled region so objtool stops complaining. Fixes: 5d5675df792f ("x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls") Reported-by: kernel test robot Signed-off-by: Thomas Gleixner Cc: stable(a)vger.kernel.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 @@ -130,8 +130,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; }