summaryrefslogtreecommitdiffstats
path: root/tools/objtool/check.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2022-05-20 21:27:29 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-05-27 12:34:45 +0200
commit2028a255f4df3af9e759f01f958d3237f825f256 (patch)
tree97c382a550a8deb691da55bc0a4c8adace64cabc /tools/objtool/check.c
parentcontext_tracking: Always inline empty stubs (diff)
downloadlinux-2028a255f4df3af9e759f01f958d3237f825f256.tar.xz
linux-2028a255f4df3af9e759f01f958d3237f825f256.zip
x86/extable: Annotate ex_handler_msr_mce() as a dead end
Fix vmlinux.o: warning: objtool: fixup_exception+0x2d6: unreachable instruction Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220520192729.23969-1-bp@alien8.de
Diffstat (limited to 'tools/objtool/check.c')
-rw-r--r--tools/objtool/check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 7a187dae2fcf..864bb9dd3584 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -187,6 +187,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
"__invalid_creds",
"cpu_startup_entry",
"__ubsan_handle_builtin_unreachable",
+ "ex_handler_msr_mce",
};
if (!func)