commit | 63a5fe4edc7cbcb0f8379dd635241c070023f2df | [log] [tgz] |
---|---|---|
author | Srivatsa Vaddagiri <vatsa@codeaurora.org> | Mon May 13 15:11:55 2013 -0700 |
committer | Srivatsa Vaddagiri <vatsa@codeaurora.org> | Mon May 13 15:11:55 2013 -0700 |
tree | 7e51984ce748b8a2ead8bb55b4ce9bf45c9af5fe | |
parent | 106dd0d794c564dcbb38c4c81a38f562927c2132 [diff] |
sched: fix reference to wrong cfs_rq Commit 7db16c8c (sched: Fix SCHED_HRTICK bug leading to late preemption of tasks) introduced a bug in sched_slice() calculation by using wrong cfs_rq for tasks. rq->cfs was incorrectly used as task's cfs_rq, rather than the correct one to which they belonged. Fix the bug by using correct cfs_rq for tasks. Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>