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)
commit09a40af5240de02d848247ab82440ad75b31ab11
tree1f0fa5e5c391d8fbf76587f687d131f9b7ae4609
parentb257c14ceb1194a6181144210056d38f22127189
sched: Fix UP update_avg() build warning

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>
kernel/sched.c