diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-21 15:29:25 -0600 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-26 11:12:00 -0600 |
commit | c26acfbbfbc2ae4167e33825793e85e1a53058d8 (patch) | |
tree | 70a4d98db5565cd4fe82caa16a035ea70cf99373 /tools/objtool | |
parent | b735bd3e68824316655252a931a3353a6ebc036f (diff) | |
download | lwn-c26acfbbfbc2ae4167e33825793e85e1a53058d8.tar.gz lwn-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/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 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) |