diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-11 15:12:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-11 15:12:04 -0500 |
commit | 8d610dd52dd1da696e199e4b4545f33a2a5de5c6 (patch) | |
tree | 8b2eee4dac34ff5f1374225ccba3fedb8432b579 /include | |
parent | 8993780a6e44fb4e7ed34e33458506a775356c6e (diff) |
Make sure we populate the initroot filesystem late enough
We should not initialize rootfs before all the core initializers have
run. So do it as a separate stage just before starting the regular
driver initializers.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 1 | ||||
-rw-r--r-- | include/linux/init.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 6e9fcebbf89f..7437ccaada77 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -242,6 +242,7 @@ | |||
242 | *(.initcall4s.init) \ | 242 | *(.initcall4s.init) \ |
243 | *(.initcall5.init) \ | 243 | *(.initcall5.init) \ |
244 | *(.initcall5s.init) \ | 244 | *(.initcall5s.init) \ |
245 | *(.initcallrootfs.init) \ | ||
245 | *(.initcall6.init) \ | 246 | *(.initcall6.init) \ |
246 | *(.initcall6s.init) \ | 247 | *(.initcall6s.init) \ |
247 | *(.initcall7.init) \ | 248 | *(.initcall7.init) \ |
diff --git a/include/linux/init.h b/include/linux/init.h index 5eb5d24b7680..5a593a1dec1e 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -111,6 +111,7 @@ extern void setup_arch(char **); | |||
111 | #define subsys_initcall_sync(fn) __define_initcall("4s",fn,4s) | 111 | #define subsys_initcall_sync(fn) __define_initcall("4s",fn,4s) |
112 | #define fs_initcall(fn) __define_initcall("5",fn,5) | 112 | #define fs_initcall(fn) __define_initcall("5",fn,5) |
113 | #define fs_initcall_sync(fn) __define_initcall("5s",fn,5s) | 113 | #define fs_initcall_sync(fn) __define_initcall("5s",fn,5s) |
114 | #define rootfs_initcall(fn) __define_initcall("rootfs",fn,rootfs) | ||
114 | #define device_initcall(fn) __define_initcall("6",fn,6) | 115 | #define device_initcall(fn) __define_initcall("6",fn,6) |
115 | #define device_initcall_sync(fn) __define_initcall("6s",fn,6s) | 116 | #define device_initcall_sync(fn) __define_initcall("6s",fn,6s) |
116 | #define late_initcall(fn) __define_initcall("7",fn,7) | 117 | #define late_initcall(fn) __define_initcall("7",fn,7) |