mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
8993780a6e
commit
8d610dd52d
4 changed files with 6 additions and 9 deletions
|
@ -94,7 +94,6 @@ extern void pidmap_init(void);
|
|||
extern void prio_tree_init(void);
|
||||
extern void radix_tree_init(void);
|
||||
extern void free_initmem(void);
|
||||
extern void populate_rootfs(void);
|
||||
extern void driver_init(void);
|
||||
extern void prepare_namespace(void);
|
||||
#ifdef CONFIG_ACPI
|
||||
|
@ -745,12 +744,6 @@ static int init(void * unused)
|
|||
|
||||
cpuset_init_smp();
|
||||
|
||||
/*
|
||||
* Do this before initcalls, because some drivers want to access
|
||||
* firmware files.
|
||||
*/
|
||||
populate_rootfs();
|
||||
|
||||
do_basic_setup();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue