From: Steven Noonan Date: Sun, 11 Jan 2009 09:04:22 +0000 (-0800) Subject: kernel/sched.c: add missing forward declaration for 'double_rq_lock' X-Git-Tag: v2.6.29-rc2~101^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fd2ab30b65e961b974ae0bc71e0d47d6b35e0968;p=linux-2.6-omap-h63xx.git kernel/sched.c: add missing forward declaration for 'double_rq_lock' Impact: build fix on certain configs Added 'double_rq_lock' forward declaration, allowing double_rq_lock to be used in _double_lock_balance(). Signed-off-by: Steven Noonan Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index f0c0a81d763..8be2c13b50d 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.