aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-01-29 03:24:57 -0500
committerIngo Molnar <mingo@elte.hu>2010-01-29 04:36:22 -0500
commitae7f6711d6231c9ba54feb5ba9856c3775e482f8 (patch)
tree89070c82204b2503348e4fd6c51d25a169375545 /kernel/sched.c
parent64abebf731df87e6f4ae7d9ffc340bdf0c033e44 (diff)
parentb23ff0e9330e4b11e18af984d50573598e10e7f9 (diff)
Merge branch 'perf/urgent' into perf/core
Merge reason: We want to queue up a dependent patch. Also update to later -rc's. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index c3ad3427a2a5..7266b912139f 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5536,8 +5536,11 @@ need_resched_nonpreemptible:
5536 5536
5537 post_schedule(rq); 5537 post_schedule(rq);
5538 5538
5539 if (unlikely(reacquire_kernel_lock(current) < 0)) 5539 if (unlikely(reacquire_kernel_lock(current) < 0)) {
5540 prev = rq->curr;
5541 switch_count = &prev->nivcsw;
5540 goto need_resched_nonpreemptible; 5542 goto need_resched_nonpreemptible;
5543 }
5541 5544
5542 preempt_enable_no_resched(); 5545 preempt_enable_no_resched();
5543 if (need_resched()) 5546 if (need_resched())