sched: move double_unlock_balance() higher
commit70574a996fc7a70c5586eb56bd92a544eccf18b6
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 28 Nov 2008 19:08:00 +0000 (28 22:08 +0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 19:11:15 +0000 (28 20:11 +0100)
tree6c0fbb9a9e9b65817316d1765217478bb6c88cbf
parentf1860c34b3ed829ac774647f266abf1074cd58cd
sched: move double_unlock_balance() higher

Move double_lock_balance()/double_unlock_balance() higher to fix the following
with gcc-3.4.6:

   CC      kernel/sched.o
 In file included from kernel/sched.c:1605:
 kernel/sched_rt.c: In function `find_lock_lowest_rq':
 kernel/sched_rt.c:914: sorry, unimplemented: inlining failed in call to 'double_unlock_balance': function body not available
 kernel/sched_rt.c:1077: sorry, unimplemented: called from here
 make[2]: *** [kernel/sched.o] Error 1

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_rt.c