diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-08 01:31:11 -0400 |
commit | 334d0dd8b660557608142f0f77abc6812b48f08b (patch) | |
tree | 9393a9aa099d7d42deda5f9f5054796c0c769be7 /include/linux/init.h | |
parent | 3f07d8796262f6aee135c8dd9a91210da9f888e4 (diff) | |
parent | 5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
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 |