sched: Refactor account_system_time separating id-update
authorVenkatesh Pallipadi <venki@google.com>
Wed, 22 Dec 2010 01:09:02 +0000 (17:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 11:33:21 +0000 (12:33 +0100)
commit70a89a6620f658d47a1488515bada4b8ee6291d8
tree8419e284dde540acf0dc858f0f9083d401e3c37d
parenta1dabb6bfffccb897eff3e1d102dacf2a4bedf3b
sched: Refactor account_system_time separating id-update

Refactor account_system_time, to separate out the logic of
identifying the update needed and code that does actual update.

This is used by following patch for IRQ_TIME_ACCOUNTING,
which has different identification logic and same update logic.

Tested-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1292980144-28796-4-git-send-email-venki@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
This page took 0.029544 seconds and 5 git commands to generate.