From: Krzysztof Helt Date: Fri, 5 Sep 2008 21:46:19 +0000 (+0200) Subject: sched: compilation fix with gcc 3.4.6 X-Git-Tag: v2.6.28-rc1~725^2~2^2~9^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bfff6dd4d41834f4952cbc49e28e31906a6188;p=pandora-kernel.git sched: compilation fix with gcc 3.4.6 I found that 2.6.27-rc5-mm1 does not compile with gcc 3.4.6. The error is: CC kernel/sched.o kernel/sched.c: In function `start_rt_bandwidth': kernel/sched.c:208: sorry, unimplemented: inlining failed in call to 'rt_bandwidth_enabled': function body not available kernel/sched.c:214: sorry, unimplemented: called from here make[1]: *** [kernel/sched.o] Error 1 make: *** [kernel] Error 2 It seems that the gcc 3.4.6 requires full inline definition before first usage. The patch below fixes the compilation problem. Signed-off-by: Krzysztof Helt (if needed> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed