x86/mce: Allow instrumentation during task work queueing
authorBorislav Petkov <bp@suse.de>
Wed, 13 Oct 2021 07:07:19 +0000 (09:07 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Dec 2021 13:12:35 +0000 (14:12 +0100)
commit4fbce464db81a42f9a57ee242d6150ec7f996415
tree4780b0352e48cddb801bb2027eda0d9115cf17f5
parent487d654db3edacc31dee86b10258cc740640fad8
x86/mce: Allow instrumentation during task work queueing

Fixes

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

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