projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b735bd3
)
objtool: Add xen_start_kernel() to noreturn list
author
Josh Poimboeuf
<jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:29:25 +0000
(15:29 -0600)
committer
Josh Poimboeuf
<jpoimboe@redhat.com>
Tue, 26 Jan 2021 17:12:00 +0000
(11:12 -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>
Link:
https://lore.kernel.org/r/930deafa89256c60b180442df59a1bbae48f30ab.1611263462.git.jpoimboe@redhat.com
tools/objtool/check.c
patch
|
blob
|
history
diff --git
a/tools/objtool/check.c
b/tools/objtool/check.c
index f88f20327bf25489651fcc472815f0fc67648612..5f056ddab4fa25954b09858912473905e39fc10a 100644
(file)
--- 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)