mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> [ Added AVR32 as well ] Signed-off-by: Haavard Skinnemoen <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e803915000
commit
61ce1efe6e
22 changed files with 31 additions and 147 deletions
|
|
@ -184,13 +184,7 @@ SECTIONS
|
|||
|
||||
__initcall_start = .;
|
||||
.initcall.init : {
|
||||
*(.initcall1.init)
|
||||
*(.initcall2.init)
|
||||
*(.initcall3.init)
|
||||
*(.initcall4.init)
|
||||
*(.initcall5.init)
|
||||
*(.initcall6.init)
|
||||
*(.initcall7.init)
|
||||
INITCALLS
|
||||
}
|
||||
__initcall_end = .;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue