diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-21 22:29:25 +0100 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-26 18:12:00 +0100 |
commit | c26acfbbfbc2ae4167e33825793e85e1a53058d8 (patch) | |
tree | 70a4d98db5565cd4fe82caa16a035ea70cf99373 /tools | |
parent | objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC (diff) | |
download | linux-c26acfbbfbc2ae4167e33825793e85e1a53058d8.tar.xz linux-c26acfbbfbc2ae4167e33825793e85e1a53058d8.zip |
objtool: Add xen_start_kernel() to noreturn list
xen_start_kernel() doesn't return. Annotate it as such so objtool can
follow the code flow.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/930deafa89256c60b180442df59a1bbae48f30ab.1611263462.git.jpoimboe@redhat.com
Diffstat (limited to 'tools')
-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 f88f20327bf2..5f056ddab4fa 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -160,6 +160,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func, "machine_real_restart", "rewind_stack_do_exit", "kunit_try_catch_throw", + "xen_start_kernel", }; if (!func) |