Skip to content
  • Alexey Dobriyan's avatar
    sched: move double_unlock_balance() higher · 70574a99
    Alexey Dobriyan authored
    
    
    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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    70574a99