From: Yong Wang <yong.y.wang@linux.intel.com>
To: arjan@linux.intel.com
Cc: linux-kernel@vger.kernel.org, qi.wang@intel.com
Subject: [PATCH] fastboot: Enter the initcall loop only once for all async initcalls
Date: Fri, 26 Sep 2008 13:54:33 +0800 [thread overview]
Message-ID: <20080926055433.GB11353@ywang-moblin2.bj.intel.com> (raw)
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;
reply other threads:[~2008-09-26 5:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080926055433.GB11353@ywang-moblin2.bj.intel.com \
--to=yong.y.wang@linux.intel.com \
--cc=arjan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qi.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®