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

init: set nr_cpu_ids before setup_per_cpu_areas()



nr_cpu_ids is dependent only on cpu_possible_map and
setup_per_cpu_areas() already depends on cpu_possible_map and will use
nr_cpu_ids.  Initialize nr_cpu_ids before setting up percpu areas.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 64f1607f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment