mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
mnt_init(): call shmem_init() unconditionally
No point having two call sites (earlier in init_rootfs() from mnt_init() in case we are going to use shmem-style rootfs, later from do_basic_setup() unconditionally), along with the logics in shmem_init() itself to make the second call a no-op... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
33488845f2
commit
037f11b475
5 changed files with 5 additions and 13 deletions
|
@ -1000,7 +1000,6 @@ static void __init do_initcalls(void)
|
|||
static void __init do_basic_setup(void)
|
||||
{
|
||||
cpuset_init_smp();
|
||||
shmem_init();
|
||||
driver_init();
|
||||
init_irq_proc();
|
||||
do_ctors();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue