sched clock: simplify __update_sched_clock()
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jul 2008 08:15:55 +0000 (10:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 31 Jul 2008 15:20:55 +0000 (17:20 +0200)
commit56b906126d33904d4d67615d0d5b95dbdf1f27ca
tree49ff0678cbb0f388fc5fd42e71ec5916fd655193
parent18e4e36c66d6edbdefc639692206cdf01e468713
sched clock: simplify __update_sched_clock()

- return the current clock instead of letting callers
  fetch it from scd->clock

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mike Galbraith <efault@gmx.de>
kernel/sched_clock.c