* [PATCH] fastboot: Enter the initcall loop only once for all async initcalls
@ 2008-09-26 5:54 Yong Wang
0 siblings, 0 replies; only message in thread
From: Yong Wang @ 2008-09-26 5:54 UTC (permalink / raw)
To: arjan; +Cc: linux-kernel, qi.wang
fastboot: Enter the initcall loop only once for all async initcalls
Only need to enter the initcall loop once for all async initcalls since
they have been submitted to async work queue all together when the loop
is entered for the first async initcall.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Signed-off-by: Qi Wang <qi.wang@intel.com>
---
init/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/init/main.c b/init/main.c
index 8967835..672dabf 100644
--- a/init/main.c
+++ b/init/main.c
@@ -788,6 +788,7 @@ static void __init do_initcalls(void)
#else
do_async_initcalls(NULL);
#endif
+ call = __async_initcall_end - 1;
}
if (phase == 1 && call >= __async_initcall_end)
phase = 2;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-26 5:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-26 5:54 [PATCH] fastboot: Enter the initcall loop only once for all async initcalls Yong Wang
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®