xref: /openbmc/linux/include/linux/start_kernel.h (revision 25a6917c)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2d7cd5611SRusty Russell #ifndef _LINUX_START_KERNEL_H
3d7cd5611SRusty Russell #define _LINUX_START_KERNEL_H
4d7cd5611SRusty Russell 
5d7cd5611SRusty Russell #include <linux/linkage.h>
6d7cd5611SRusty Russell #include <linux/init.h>
7d7cd5611SRusty Russell 
8d7cd5611SRusty Russell /* Define the prototype for start_kernel here, rather than cluttering
9d7cd5611SRusty Russell    up something else. */
10d7cd5611SRusty Russell 
11*25a6917cSJosh Poimboeuf extern asmlinkage void __init __noreturn start_kernel(void);
129ea7e6b6SJosh Poimboeuf extern void __init __noreturn arch_call_rest_init(void);
139ea7e6b6SJosh Poimboeuf extern void __ref __noreturn rest_init(void);
14d7cd5611SRusty Russell 
15d7cd5611SRusty Russell #endif /* _LINUX_START_KERNEL_H */
16