summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-04-13 02:49:32 +0300
committerPeter Zijlstra <peterz@infradead.org>2023-04-14 18:31:23 +0300
commit25a6917ca63ad4470bf88535c56f0dec72b570fe (patch)
tree65be6c23e8256fe2b5b3250f024804cce30bb933 /include/linux/start_kernel.h
parent9ea7e6b62c2bd2f7bbfc3f10099df803002dd33b (diff)
downloadlinux-25a6917ca63ad4470bf88535c56f0dec72b570fe.tar.xz
init: Mark start_kernel() __noreturn
Now that arch_call_rest_init() is __noreturn, mark its caller start_kernel() __noreturn. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/7069acf026a195f26a88061227fba5a3b0337b9a.1681342859.git.jpoimboe@kernel.org
Diffstat (limited to 'include/linux/start_kernel.h')
-rw-r--r--include/linux/start_kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/start_kernel.h b/include/linux/start_kernel.h
index 864921e54c92..a9806a44a605 100644
--- a/include/linux/start_kernel.h
+++ b/include/linux/start_kernel.h
@@ -8,7 +8,7 @@
/* Define the prototype for start_kernel here, rather than cluttering
up something else. */
-extern asmlinkage void __init start_kernel(void);
+extern asmlinkage void __init __noreturn start_kernel(void);
extern void __init __noreturn arch_call_rest_init(void);
extern void __ref __noreturn rest_init(void);