Re: [PATCH] sched: move double_unlock_balance() higher

From: Ingo Molnar
Date: Fri Nov 28 2008 - 14:11:58 EST



* Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>
> ---
>
> kernel/sched.c | 67 ++++++++++++++++++++++++++----------------------------
> kernel/sched_rt.c | 4 ---
> 2 files changed, 33 insertions(+), 38 deletions(-)

applied to tip/sched/core, thanks Alexey!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/