sched: Introduce a function to update the idle statistics
authorArjan van de Ven <arjan@linux.intel.com>
Sun, 9 May 2010 15:22:45 +0000 (08:22 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 May 2010 17:35:25 +0000 (19:35 +0200)
commit595aac488b546c7185be7e29c8ae165a588b2a9f
tree5037879b01cbcb7cf84f4ab99a114aca687f0300
parentb1f724c3055fa75a31d272222213647547a2d3d4
sched: Introduce a function to update the idle statistics

Currently, two places update the idle statistics (and more to
come later in this series).

This patch creates a helper function for updating these
statistics.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: davej@redhat.com
LKML-Reference: <20100509082245.163e67ed@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-sched.c