sched: Use an accessor to read the rq clock
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 11 Apr 2013 23:51:02 +0000 (01:51 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 May 2013 07:40:27 +0000 (09:40 +0200)
commit78becc27097585c6aec7043834cadde950ae79f2
tree3e8f0982faa2a456c1c68fa5e5a4c7c815194ae4
parent1a55af2e45cce0ff13bc33c8ee99da84e188b615
sched: Use an accessor to read the rq clock

Read the runqueue clock through an accessor. This
prepares for adding a debugging infrastructure to
detect missing or redundant calls to update_rq_clock()
between a scheduler's entry and exit point.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Turner <pjt@google.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1365724262-20142-6-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/rt.c
kernel/sched/sched.h
kernel/sched/stats.h
kernel/sched/stop_task.c