Skip to content

Commit abf37e8

Browse files
jpoimboegregkh
authored andcommitted
objtool: Add xen_start_kernel() to noreturn list
[ Upstream commit c26acfb ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 6b72caa commit abf37e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/objtool/check.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
156156
"machine_real_restart",
157157
"rewind_stack_do_exit",
158158
"kunit_try_catch_throw",
159+
"xen_start_kernel",
159160
};
160161

161162
if (!func)

0 commit comments

Comments
 (0)