mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Josh Poimboeuf](/assets/img/avatar_default.png)
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
15 lines
448 B
C
15 lines
448 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_START_KERNEL_H
|
|
#define _LINUX_START_KERNEL_H
|
|
|
|
#include <linux/linkage.h>
|
|
#include <linux/init.h>
|
|
|
|
/* Define the prototype for start_kernel here, rather than cluttering
|
|
up something else. */
|
|
|
|
extern asmlinkage void __init __noreturn start_kernel(void);
|
|
extern void __init __noreturn arch_call_rest_init(void);
|
|
extern void __ref __noreturn rest_init(void);
|
|
|
|
#endif /* _LINUX_START_KERNEL_H */
|