diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 366a90923a3b..573179eb553e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3882,7 +3882,7 @@ need_resched_nonpreemptible: | |||
3882 | 3882 | ||
3883 | if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) { | 3883 | if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) { |
3884 | if (unlikely((prev->state & TASK_INTERRUPTIBLE) && | 3884 | if (unlikely((prev->state & TASK_INTERRUPTIBLE) && |
3885 | unlikely(signal_pending(prev)))) { | 3885 | signal_pending(prev))) { |
3886 | prev->state = TASK_RUNNING; | 3886 | prev->state = TASK_RUNNING; |
3887 | } else { | 3887 | } else { |
3888 | deactivate_task(rq, prev, 1); | 3888 | deactivate_task(rq, prev, 1); |