lkml.org 
[lkml]   [2016]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] init/main: Trigger re-execution of deferred deferred probe()s
Date
Some devices require files from rootfs.

Ensure they are given a chance to re-probe() now that the rootfs is mounted.

Tested-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
init/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/init/main.c b/init/main.c
index 4c17fda..0b905a1 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1035,6 +1035,7 @@ static noinline void __init kernel_init_freeable(void)
* and default modules
*/

+ deferred_probe_trigger();
integrity_load_keys();
load_default_modules();
}
--
2.9.0
\
 
 \ /
  Last update: 2016-07-12 19:01    [W:0.035 / U:1.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site