x86/mce: Mark mce_timed_out() noinstr
authorBorislav Petkov <bp@suse.de>
Tue, 2 Nov 2021 21:25:12 +0000 (22:25 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Dec 2021 13:13:54 +0000 (14:13 +0100)
commitedb3d07e2403abd13fc664e8b6f23ea7efb52747
treec2d3b4e531fad19c273fae1ac690dafeedb8dc3c
parent75581a203e63210aabb1336c8c9cb65a7858b596
x86/mce: Mark mce_timed_out() noinstr

Fixes

  vmlinux.o: warning: objtool: do_machine_check()+0x482: call to mce_timed_out() leaves .noinstr.text section

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211208111343.8130-12-bp@alien8.de
arch/x86/kernel/cpu/mce/core.c