diff options
Diffstat (limited to 'include/linux/init.h')
-rw-r--r-- | include/linux/init.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index f8d9d0b5cffc..5141381a7527 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -67,8 +67,10 @@ | |||
67 | 67 | ||
68 | /* For assembly routines */ | 68 | /* For assembly routines */ |
69 | #define __INIT .section ".init.text","ax" | 69 | #define __INIT .section ".init.text","ax" |
70 | #define __INIT_REFOK .section ".text.init.refok","ax" | ||
70 | #define __FINIT .previous | 71 | #define __FINIT .previous |
71 | #define __INITDATA .section ".init.data","aw" | 72 | #define __INITDATA .section ".init.data","aw" |
73 | #define __INITDATA_REFOK .section ".data.init.refok","aw" | ||
72 | 74 | ||
73 | #ifndef __ASSEMBLY__ | 75 | #ifndef __ASSEMBLY__ |
74 | /* | 76 | /* |
@@ -159,7 +161,7 @@ struct obs_kernel_param { | |||
159 | * obs_kernel_param "array" too far apart in .init.setup. | 161 | * obs_kernel_param "array" too far apart in .init.setup. |
160 | */ | 162 | */ |
161 | #define __setup_param(str, unique_id, fn, early) \ | 163 | #define __setup_param(str, unique_id, fn, early) \ |
162 | static char __setup_str_##unique_id[] __initdata = str; \ | 164 | static char __setup_str_##unique_id[] __initdata __aligned(1) = str; \ |
163 | static struct obs_kernel_param __setup_##unique_id \ | 165 | static struct obs_kernel_param __setup_##unique_id \ |
164 | __attribute_used__ \ | 166 | __attribute_used__ \ |
165 | __attribute__((__section__(".init.setup"))) \ | 167 | __attribute__((__section__(".init.setup"))) \ |