mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
This commit is contained in:
parent
9ea7e6b62c
commit
25a6917ca6
3 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue