diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-05-11 08:44:27 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 08:44:31 -0400 |
| commit | 41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51 (patch) | |
| tree | 51c50bcb67a5039448ddfa1869d7948cab1217e9 /include/linux/init.h | |
| parent | 19c1a6f5764d787113fa323ffb18be7991208f82 (diff) | |
| parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) | |
Merge commit 'v2.6.30-rc5' into core/iommu
Merge reason: core/iommu was on an .30-rc1 base,
update it to .30-rc5 to refresh.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/init.h')
| -rw-r--r-- | include/linux/init.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index 68cb0265d009..0e06c176f185 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) |
| @@ -60,14 +62,6 @@ | |||
| 60 | #define __refdata __section(.ref.data) | 62 | #define __refdata __section(.ref.data) |
| 61 | #define __refconst __section(.ref.rodata) | 63 | #define __refconst __section(.ref.rodata) |
| 62 | 64 | ||
| 63 | /* backward compatibility note | ||
| 64 | * A few places hardcode the old section names: | ||
| 65 | * .text.init.refok | ||
| 66 | * .data.init.refok | ||
| 67 | * .exit.text.refok | ||
| 68 | * They should be converted to use the defines from this file | ||
| 69 | */ | ||
| 70 | |||
| 71 | /* compatibility defines */ | 65 | /* compatibility defines */ |
| 72 | #define __init_refok __ref | 66 | #define __init_refok __ref |
| 73 | #define __initdata_refok __refdata | 67 | #define __initdata_refok __refdata |
| @@ -107,7 +101,7 @@ | |||
| 107 | #define __memexitconst __section(.memexit.rodata) | 101 | #define __memexitconst __section(.memexit.rodata) |
| 108 | 102 | ||
| 109 | /* For assembly routines */ | 103 | /* For assembly routines */ |
| 110 | #define __HEAD .section ".head.text","ax" | 104 | #define __HEAD .section __stringify(HEAD_TEXT_SECTION),"ax" |
| 111 | #define __INIT .section ".init.text","ax" | 105 | #define __INIT .section ".init.text","ax" |
| 112 | #define __FINIT .previous | 106 | #define __FINIT .previous |
| 113 | 107 | ||
| @@ -247,6 +241,7 @@ struct obs_kernel_param { | |||
| 247 | 241 | ||
| 248 | /* Relies on boot_command_line being set */ | 242 | /* Relies on boot_command_line being set */ |
| 249 | void __init parse_early_param(void); | 243 | void __init parse_early_param(void); |
| 244 | void __init parse_early_options(char *cmdline); | ||
| 250 | #endif /* __ASSEMBLY__ */ | 245 | #endif /* __ASSEMBLY__ */ |
| 251 | 246 | ||
| 252 | /** | 247 | /** |
