summaryrefslogtreecommitdiff
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorAmit K. Arora <aarora@linux.vnet.ibm.com>2008-09-30 11:45:39 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-09-30 13:25:44 (GMT)
commit64b9e0294d24a4204232e13e01630b0690e48d61 (patch)
treea8399f65354ffe0777f78e169fd7be763148c121 /drivers/spi/spi.c
parentb87f17242da6b2ac6db2d179b2f93fb84cff2fbe (diff)
downloadlinux-fsl-qoriq-64b9e0294d24a4204232e13e01630b0690e48d61.tar.xz
sched: minor optimizations in wake_affine and select_task_rq_fair
This patch does following: o Removes unused variable and argument "rq". o Optimizes one of the "if" conditions in wake_affine() - i.e. if "balanced" is true, we need not do rest of the calculations in the condition. o If this cpu is same as the previous cpu (on which woken up task was running when it went to sleep), no need to call wake_affine at all. Signed-off-by: Amit K Arora <aarora@linux.vnet.ibm.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions