summaryrefslogtreecommitdiff
path: root/tools/objtool
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2021-01-22 00:29:25 +0300
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-26 20:12:00 +0300
commitc26acfbbfbc2ae4167e33825793e85e1a53058d8 (patch)
tree70a4d98db5565cd4fe82caa16a035ea70cf99373 /tools/objtool
parentb735bd3e68824316655252a931a3353a6ebc036f (diff)
downloadlinux-c26acfbbfbc2ae4167e33825793e85e1a53058d8.tar.xz
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.c1
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)