sched: Fix UP update_avg() build warning
authorMike Galbraith <efault@gmx.de>
Thu, 15 Apr 2010 05:29:59 +0000 (07:29 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Apr 2010 07:36:47 +0000 (09:36 +0200)
update_avg() is only used for SMP builds, move it to the nearest
SMP block.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1271309399.14779.17.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found