diff options
Diffstat (limited to 'include/linux/init.h')
-rw-r--r-- | include/linux/init.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index 68cb0265d009..20a1334e34e9 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -2,6 +2,8 @@ | |||
2 | #define _LINUX_INIT_H | 2 | #define _LINUX_INIT_H |
3 | 3 | ||
4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
5 | #include <linux/section-names.h> | ||
6 | #include <linux/stringify.h> | ||
5 | 7 | ||
6 | /* These macros are used to mark some functions or | 8 | /* These macros are used to mark some functions or |
7 | * initialized data (doesn't apply to uninitialized data) | 9 | * initialized data (doesn't apply to uninitialized data) |
@@ -107,7 +109,7 @@ | |||
107 | #define __memexitconst __section(.memexit.rodata) | 109 | #define __memexitconst __section(.memexit.rodata) |
108 | 110 | ||
109 | /* For assembly routines */ | 111 | /* For assembly routines */ |
110 | #define __HEAD .section ".head.text","ax" | 112 | #define __HEAD .section __stringify(HEAD_TEXT_SECTION),"ax" |
111 | #define __INIT .section ".init.text","ax" | 113 | #define __INIT .section ".init.text","ax" |
112 | #define __FINIT .previous | 114 | #define __FINIT .previous |
113 | 115 | ||
@@ -247,6 +249,7 @@ struct obs_kernel_param { | |||
247 | 249 | ||
248 | /* Relies on boot_command_line being set */ | 250 | /* Relies on boot_command_line being set */ |
249 | void __init parse_early_param(void); | 251 | void __init parse_early_param(void); |
252 | void __init parse_early_options(char *cmdline); | ||
250 | #endif /* __ASSEMBLY__ */ | 253 | #endif /* __ASSEMBLY__ */ |
251 | 254 | ||
252 | /** | 255 | /** |