]> git.baikalelectronics.ru Git - kernel.git/commit
x86,objtool: Explicitly mark idtentry_body()s tail REACHABLE
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 Apr 2022 09:45:56 +0000 (11:45 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 19 Apr 2022 19:58:48 +0000 (21:58 +0200)
commit24d093e5e0882066d68ace3e33a77e16a40388a9
tree40e05c3bf3f9a9667f1dd324edb115f83c3a2da6
parent80779e9efe9e298cabc2934c9f1a249cc31f00cd
x86,objtool: Explicitly mark idtentry_body()s tail REACHABLE

Objtool can figure out that some \cfunc()s are noreturn and then
complains about certain instances having unreachable tails:

  vmlinux.o: warning: objtool: asm_exc_xen_unknown_trap()+0x16: unreachable instruction

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220408094718.441854969@infradead.org
arch/x86/entry/entry_64.S