mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] init:main.c: start 'usermodehelper_enable()' a little early
@ 2011-09-29  7:09 wangyanqing
  2011-09-29  7:23 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: wangyanqing @ 2011-09-29  7:09 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-29 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-29  7:09 [PATCH] init:main.c: start 'usermodehelper_enable()' a little early wangyanqing
2011-09-29  7:23 ` Linus Torvalds
2011-09-29  8:57   ` wang yanqing
2011-09-29 14:37     ` Linus Torvalds
2011-09-29 15:42       ` wang yanqing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®