[PATCH 2/2] init/main: Trigger re-execution of deferred deferred probe()s

Lee Jones lee.jones at linaro.org
Tue Jul 12 09:19:27 PDT 2016


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 at linaro.org>
Signed-off-by: Lee Jones <lee.jones at 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




More information about the linux-arm-kernel mailing list