[PATCH] init:main.c: start 'usermodehelper_enable()' a little early

From: wangyanqing
Date: Thu Sep 29 2011 - 03:11:23 EST


commit d5767c53535ac79758084773418e0ad186aba4a2 move 'usermodehelper_enable()'
to end of rest_init, then I get failed to let uvesafb work on my computer, and
lose the splash boot.So maybe we could start usermodehelper_enable a little early
to make some task work that need eary init with the help of user mode.
---
init/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init/main.c b/init/main.c
index 23702bb..03b408d 100644
--- a/init/main.c
+++ b/init/main.c
@@ -730,8 +730,8 @@ static void __init do_basic_setup(void)
driver_init();
init_irq_proc();
do_ctors();
- do_initcalls();
usermodehelper_enable();
+ do_initcalls();
}

static void __init do_pre_smp_initcalls(void)
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/