From: Josh Poimboeuf Date: Thu, 21 Jan 2021 21:29:25 +0000 (-0600) Subject: objtool: Add xen_start_kernel() to noreturn list X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c26acfbbfbc2ae4167e33825793e85e1a53058d8;p=linux.git 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 Link: https://lore.kernel.org/r/930deafa89256c60b180442df59a1bbae48f30ab.1611263462.git.jpoimboe@redhat.com --- diff --git a/tools/objtool/check.c b/tools/objtool/check.c index f88f20327bf25..5f056ddab4fa2 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)