sched: Fix UP update_avg() build warning
update_avg() is only used for SMP builds, move it to the nearest SMP block. Reported-by: NStephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: NMike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1271309399.14779.17.camel@marge.simson.net> Signed-off-by: NIngo Molnar <mingo@elte.hu>
Showing
想要评论请 注册 或 登录