mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
sched_ext: Return NULL in llc_span
Use NULL instead of 0 to signal no LLC domain, matching numa_span() and the function comment. No functional change. Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
545b343015
commit
f479fee382
|
|
@ -249,7 +249,7 @@ static struct cpumask *llc_span(s32 cpu)
|
|||
|
||||
sd = rcu_dereference(per_cpu(sd_llc, cpu));
|
||||
if (!sd)
|
||||
return 0;
|
||||
return NULL;
|
||||
|
||||
return sched_domain_span(sd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user