lkml.org 
[lkml]   [2011]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] init:main.c: start 'usermodehelper_enable()' a little early
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

\
 
 \ /
  Last update: 2011-09-29 09:13    [W:0.242 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site