lkml.org 
[lkml]   [2014]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/9] dt: deps: fix bug not registering late drivers when OF_DEPENDENCIES is disabled
Date
The subject says all. Patch 5/9 has a bug which avoids registering late drivers
if OF_DEPENDENCIES is disabled.

This also explains the large differences in boot times I've experienced when
comparing boot times with and without DT dependency based initialization order.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>

---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/main.c b/init/main.c
index 7591cd1..e16e2b4 100644
--- a/init/main.c
+++ b/init/main.c
@@ -799,9 +799,9 @@ static void __init do_basic_setup(void)
of_init_set_recording(false);
/* probe available platform drivers with deterministic order */
of_init_register_drivers();
+#endif
/* register late drivers */
do_initcall_level(ARRAY_SIZE(initcall_levels) - 3);
-#endif
random_int_secret_init();
}

--
1.8.3.1


\
 
 \ /
  Last update: 2014-05-13 19:01    [W:0.334 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site