diff options
Diffstat (limited to 'include/linux/init.h')
| -rw-r--r-- | include/linux/init.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index e290a010e3f2..dbbdbd1bec77 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
| @@ -52,9 +52,14 @@ | |||
| 52 | #endif | 52 | #endif |
| 53 | 53 | ||
| 54 | /* For assembly routines */ | 54 | /* For assembly routines */ |
| 55 | #ifdef CONFIG_HOTPLUG_CPU | ||
| 56 | #define __INIT .section ".text","ax" | ||
| 57 | #define __INITDATA .section ".data","aw" | ||
| 58 | #else | ||
| 55 | #define __INIT .section ".init.text","ax" | 59 | #define __INIT .section ".init.text","ax" |
| 56 | #define __FINIT .previous | ||
| 57 | #define __INITDATA .section ".init.data","aw" | 60 | #define __INITDATA .section ".init.data","aw" |
| 61 | #endif | ||
| 62 | #define __FINIT .previous | ||
| 58 | 63 | ||
| 59 | #ifndef __ASSEMBLY__ | 64 | #ifndef __ASSEMBLY__ |
| 60 | /* | 65 | /* |
| @@ -228,7 +233,7 @@ void __init parse_early_param(void); | |||
| 228 | #define __obsolete_setup(str) /* nothing */ | 233 | #define __obsolete_setup(str) /* nothing */ |
| 229 | #endif | 234 | #endif |
| 230 | 235 | ||
| 231 | /* Data marked not to be saved by software_suspend() */ | 236 | /* Data marked not to be saved by software suspend */ |
| 232 | #define __nosavedata __attribute__ ((__section__ (".data.nosave"))) | 237 | #define __nosavedata __attribute__ ((__section__ (".data.nosave"))) |
| 233 | 238 | ||
| 234 | /* This means "can be init if no module support, otherwise module load | 239 | /* This means "can be init if no module support, otherwise module load |
