Created
May 10, 2013 21:23
-
-
Save mgalgs/5557541 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define INIT_CALLS_LEVEL(level) \ | |
VMLINUX_SYMBOL(__initcall##level##_start) = .; \ | |
*(.initcall##level##.init) \ | |
*(.initcall##level##s.init) \ | |
#define INIT_CALLS \ | |
VMLINUX_SYMBOL(__initcall_start) = .; \ | |
*(.initcallearly.init) \ | |
INIT_CALLS_LEVEL(0) \ | |
INIT_CALLS_LEVEL(1) \ | |
INIT_CALLS_LEVEL(2) \ | |
INIT_CALLS_LEVEL(3) \ | |
INIT_CALLS_LEVEL(4) \ | |
INIT_CALLS_LEVEL(5) \ | |
INIT_CALLS_LEVEL(rootfs) \ | |
INIT_CALLS_LEVEL(6) \ | |
INIT_CALLS_LEVEL(7) \ | |
VMLINUX_SYMBOL(__initcall_end) = .; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment