diff options
Diffstat (limited to 'kernel/sched.c')
| -rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 16559de4edea..cc6dc8caa380 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
| @@ -2369,9 +2369,6 @@ static int try_to_wake_up(struct task_struct *p, unsigned int state, | |||
| 2369 | unsigned long flags; | 2369 | unsigned long flags; |
| 2370 | struct rq *rq; | 2370 | struct rq *rq; |
| 2371 | 2371 | ||
| 2372 | if (!sched_feat(SYNC_WAKEUPS)) | ||
| 2373 | wake_flags &= ~WF_SYNC; | ||
| 2374 | |||
| 2375 | this_cpu = get_cpu(); | 2372 | this_cpu = get_cpu(); |
| 2376 | 2373 | ||
| 2377 | smp_wmb(); | 2374 | smp_wmb(); |
