diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-04-13 02:49:33 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-04-14 18:31:24 +0300 |
commit | 4208d2d79837ef70f260d6170e3ac7fd6fde7788 (patch) | |
tree | 53dbb740992da1f28d870bbd86692067470816fe /tools/objtool | |
parent | 25a6917ca63ad4470bf88535c56f0dec72b570fe (diff) | |
download | linux-4208d2d79837ef70f260d6170e3ac7fd6fde7788.tar.xz |
x86/head: Mark *_start_kernel() __noreturn
Now that start_kernel() is __noreturn, mark its chain of callers
__noreturn.
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/c2525f96b88be98ee027ee0291d58003036d4120.1681342859.git.jpoimboe@kernel.org
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 9aaad9dc6c20..a436bc1e63d9 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -225,6 +225,8 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func, "start_kernel", "stop_this_cpu", "usercopy_abort", + "x86_64_start_kernel", + "x86_64_start_reservations", "xen_cpu_bringup_again", "xen_start_kernel", }; |