summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2021-01-21 22:29:25 +0100
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-26 18:12:00 +0100
commitc26acfbbfbc2ae4167e33825793e85e1a53058d8 (patch)
tree70a4d98db5565cd4fe82caa16a035ea70cf99373 /tools
parentobjtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC (diff)
downloadlinux-c26acfbbfbc2ae4167e33825793e85e1a53058d8.tar.xz
linux-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')
-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)