Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1e453d2 authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: fix incorrect cpu number BUG_ON() in get_work_gcwq()



get_work_gcwq() was incorrectly triggering BUG_ON() if cpu number is
equal to or higher than num_possible_cpus() instead of nr_cpu_ids.
Fix it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 4ce48b37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment