summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/start_kernel.h')
-rw-r--r--include/linux/start_kernel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/start_kernel.h b/include/linux/start_kernel.h
index d3e5f2756545..09f994ac87df 100644
--- a/include/linux/start_kernel.h
+++ b/include/linux/start_kernel.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_START_KERNEL_H
#define _LINUX_START_KERNEL_H
@@ -7,6 +8,6 @@
/* 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);
#endif /* _LINUX_START_KERNEL_H */