]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
kernel/sched.c: add missing forward declaration for 'double_rq_lock'
authorSteven Noonan <steven@uplinklabs.net>
Sun, 11 Jan 2009 09:04:22 +0000 (01:04 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 11 Jan 2009 12:06:07 +0000 (13:06 +0100)
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 <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index f0c0a81d7638979c0c3acdc2097ca2934dcf9069..8be2c13b50d018cc69280829e14e31612d4deddd 100644 (file)
@@ -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.