diff options
Diffstat (limited to 'kernel')
-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 908670aa215a..6a43c8942b05 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1922,7 +1922,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) | |||
1922 | on_rq = p->se.on_rq; | 1922 | on_rq = p->se.on_rq; |
1923 | ncsw = 0; | 1923 | ncsw = 0; |
1924 | if (!match_state || p->state == match_state) | 1924 | if (!match_state || p->state == match_state) |
1925 | ncsw = p->nvcsw ?: 1; | 1925 | ncsw = p->nvcsw | LONG_MIN; /* sets MSB */ |
1926 | task_rq_unlock(rq, &flags); | 1926 | task_rq_unlock(rq, &flags); |
1927 | 1927 | ||
1928 | /* | 1928 | /* |