| From | Josh Poimboeuf <> | Subject | [PATCH 10/21] objtool: Add xen_start_kernel() to noreturn list | Date | Thu, 14 Jan 2021 13:40:06 -0600 |
| |
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> --- tools/objtool/check.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 6636f4fd694a..a430eaacd7aa 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -161,6 +161,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) -- 2.29.2
|