From: Steven Noonan <steven@uplinklabs.net>
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu, Steven Noonan <steven@uplinklabs.net>
Subject: [PATCH -tip 2/2] kernel/sched.c: forward declaration for 'double_rq_lock' missing
Date: Sun, 11 Jan 2009 01:04:22 -0800 [thread overview]
Message-ID: <1231664662-17104-2-git-send-email-steven@uplinklabs.net> (raw)
In-Reply-To: <1231664662-17104-1-git-send-email-steven@uplinklabs.net>
Impact: compile error eliminated
Added 'double_rq_lock' forward declaration, allowing double_rq_lock
to be used in _double_lock_balance().
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
kernel/sched.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 8409dba..107c5a2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -125,6 +125,9 @@ DEFINE_TRACE(sched_switch);
DEFINE_TRACE(sched_migrate_task);
#ifdef CONFIG_SMP
+
+static void double_rq_lock(struct rq *rq1, struct rq *rq2);
+
/*
* Divide a load by a sched group cpu_power : (load / sg->__cpu_power)
* Since cpu_power is a 'constant', we can use a reciprocal divide.
--
1.6.1
next prev parent reply other threads:[~2009-01-11 9:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-11 9:04 [PATCH -tip 1/2] kernel/fork.c: unused variable 'ret' Steven Noonan
2009-01-11 9:04 ` Steven Noonan [this message]
2009-01-11 12:04 ` [PATCH -tip 2/2] kernel/sched.c: forward declaration for 'double_rq_lock' missing Ingo Molnar
2009-01-11 12:05 ` [PATCH -tip 1/2] kernel/fork.c: unused variable 'ret' Ingo Molnar
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=1231664662-17104-2-git-send-email-steven@uplinklabs.net \
--to=steven@uplinklabs.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®