diff options
author | Borislav Petkov <bp@suse.de> | 2022-05-20 22:27:29 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-05-27 13:34:45 +0300 |
commit | 2028a255f4df3af9e759f01f958d3237f825f256 (patch) | |
tree | 97c382a550a8deb691da55bc0a4c8adace64cabc /tools/objtool | |
parent | 620f8d3bd3d5e82dff8cc591c831827d4beeae2e (diff) | |
download | linux-2028a255f4df3af9e759f01f958d3237f825f256.tar.xz |
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')
-rw-r--r-- | tools/objtool/check.c | 1 |
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) |