diff options
| author | Andrew Morton <akpm@osdl.org> | 2006-10-27 14:41:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-27 18:34:51 -0400 |
| commit | 61ce1efe6e40233663d27ab8ac9ba9710eebcaad (patch) | |
| tree | 782640f26f39b96fbce595883dabbeadb550dd15 /include | |
| parent | e80391500078b524083ba51c3df01bbaaecc94bb (diff) | |
[PATCH] vmlinux.lds: consolidate initcall sections
Add a vmlinux.lds.h helper macro for defining the eight-level initcall table,
teach all the architectures to use it.
This is a prerequisite for a patch which performs initcall synchronisation for
multithreaded-probing.
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
[ Added AVR32 as well ]
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/vmlinux.lds.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 9d0d11c180d9..e3e83bcaf710 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
| @@ -213,3 +213,13 @@ | |||
| 213 | 213 | ||
| 214 | #define NOTES \ | 214 | #define NOTES \ |
| 215 | .notes : { *(.note.*) } :note | 215 | .notes : { *(.note.*) } :note |
| 216 | |||
| 217 | #define INITCALLS \ | ||
| 218 | *(.initcall1.init) \ | ||
| 219 | *(.initcall2.init) \ | ||
| 220 | *(.initcall3.init) \ | ||
| 221 | *(.initcall4.init) \ | ||
| 222 | *(.initcall5.init) \ | ||
| 223 | *(.initcall6.init) \ | ||
| 224 | *(.initcall7.init) | ||
| 225 | |||
