diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/mach/arch.h | 2 | ||||
-rw-r--r-- | include/asm-arm/setup.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/mach/arch.h b/include/asm-arm/mach/arch.h index 56c6bf4ab0c3..4fa95084a8c0 100644 --- a/include/asm-arm/mach/arch.h +++ b/include/asm-arm/mach/arch.h | |||
@@ -50,7 +50,7 @@ struct machine_desc { | |||
50 | */ | 50 | */ |
51 | #define MACHINE_START(_type,_name) \ | 51 | #define MACHINE_START(_type,_name) \ |
52 | const struct machine_desc __mach_desc_##_type \ | 52 | const struct machine_desc __mach_desc_##_type \ |
53 | __attribute__((__section__(".arch.info"))) = { \ | 53 | __attribute__((__section__(".arch.info.init"))) = { \ |
54 | .nr = MACH_TYPE_##_type, \ | 54 | .nr = MACH_TYPE_##_type, \ |
55 | .name = _name, | 55 | .name = _name, |
56 | 56 | ||
diff --git a/include/asm-arm/setup.h b/include/asm-arm/setup.h index adcbd79762bf..ea3ed2465233 100644 --- a/include/asm-arm/setup.h +++ b/include/asm-arm/setup.h | |||
@@ -171,7 +171,7 @@ struct tagtable { | |||
171 | int (*parse)(const struct tag *); | 171 | int (*parse)(const struct tag *); |
172 | }; | 172 | }; |
173 | 173 | ||
174 | #define __tag __attribute_used__ __attribute__((__section__(".taglist"))) | 174 | #define __tag __attribute_used__ __attribute__((__section__(".taglist.init"))) |
175 | #define __tagtable(tag, fn) \ | 175 | #define __tagtable(tag, fn) \ |
176 | static struct tagtable __tagtable_##fn __tag = { tag, fn } | 176 | static struct tagtable __tagtable_##fn __tag = { tag, fn } |
177 | 177 | ||
@@ -213,6 +213,6 @@ struct early_params { | |||
213 | 213 | ||
214 | #define __early_param(name,fn) \ | 214 | #define __early_param(name,fn) \ |
215 | static struct early_params __early_##fn __attribute_used__ \ | 215 | static struct early_params __early_##fn __attribute_used__ \ |
216 | __attribute__((__section__("__early_param"))) = { name, fn } | 216 | __attribute__((__section__(".early_param.init"))) = { name, fn } |
217 | 217 | ||
218 | #endif | 218 | #endif |