Skip to content

Commit b74a418

Browse files
committed
sched/fair: Add missing brackets
Fixes: 7a48418 ("sched/fair: Move record_wakee()") Signed-off-by: Zile995 <stefan.zivkovic995@gmail.com>
1 parent 9469d08 commit b74a418

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/sched/fair.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6649,9 +6649,10 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
66496649
if (sched_enable_hmp)
66506650
return select_best_cpu(p, prev_cpu, 0, sync);
66516651

6652-
if (sd_flag & SD_BALANCE_WAKE)
6652+
if (sd_flag & SD_BALANCE_WAKE) {
66536653
record_wakee(p);
66546654
want_affine = cpumask_test_cpu(cpu, tsk_cpus_allowed(p));
6655+
}
66556656

66566657
rcu_read_lock();
66576658
for_each_domain(cpu, tmp) {

0 commit comments

Comments
 (0)