File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -394,14 +394,14 @@ static void __init cpu_init_thread_core_maps(int tpc)
394394
395395/**
396396 * setup_cpu_maps - initialize the following cpu maps:
397- * cpu_possible_map
398- * cpu_present_map
397+ * cpu_possible_mask
398+ * cpu_present_mask
399399 *
400400 * Having the possible map set up early allows us to restrict allocations
401401 * of things like irqstacks to num_possible_cpus() rather than NR_CPUS.
402402 *
403403 * We do not initialize the online map here; cpus set their own bits in
404- * cpu_online_map as they come up.
404+ * cpu_online_mask as they come up.
405405 *
406406 * This function is valid only for Open Firmware systems. finish_device_tree
407407 * must be called before using this.
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ int cpu_to_core_id(int cpu)
468468 return id ;
469469}
470470
471- /* Must be called when no change can occur to cpu_present_map ,
471+ /* Must be called when no change can occur to cpu_present_mask ,
472472 * i.e. during cpu online or offline.
473473 */
474474static struct device_node * cpu_to_l2cache (int cpu )
Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ static void __init pmac_init_early(void)
480480#endif
481481
482482 /* SMP Init has to be done early as we need to patch up
483- * cpu_possible_map before interrupt stacks are allocated
483+ * cpu_possible_mask before interrupt stacks are allocated
484484 * or kaboom...
485485 */
486486#ifdef CONFIG_SMP
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ static int __init smp_psurge_probe(void)
315315 /* This is necessary because OF doesn't know about the
316316 * secondary cpu(s), and thus there aren't nodes in the
317317 * device tree for them, and smp_setup_cpu_maps hasn't
318- * set their bits in cpu_present_map .
318+ * set their bits in cpu_present_mask .
319319 */
320320 if (ncpus > NR_CPUS )
321321 ncpus = NR_CPUS ;
@@ -944,7 +944,7 @@ void __init pmac_setup_smp(void)
944944 }
945945#ifdef CONFIG_PPC32
946946 else {
947- /* We have to set bits in cpu_possible_map here since the
947+ /* We have to set bits in cpu_possible_mask here since the
948948 * secondary CPU(s) aren't in the device tree. Various
949949 * things won't be initialized for CPUs not in the possible
950950 * map, so we really need to fix it up here.
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ static void pseries_cpu_die(unsigned int cpu)
222222}
223223
224224/*
225- * Update cpu_present_map and paca(s) for a new cpu node. The wrinkle
225+ * Update cpu_present_mask and paca(s) for a new cpu node. The wrinkle
226226 * here is that a cpu device node may represent up to two logical cpus
227227 * in the SMT case. We must honor the assumption in other code that
228228 * the logical ids for sibling SMT threads x and y are adjacent, such
@@ -270,7 +270,7 @@ static int pseries_add_processor(struct device_node *np)
270270 cpumask_shift_left (tmp , tmp , nthreads );
271271
272272 if (cpumask_empty (tmp )) {
273- printk (KERN_ERR "Unable to find space in cpu_present_map for"
273+ printk (KERN_ERR "Unable to find space in cpu_present_mask for"
274274 " processor %s with %d thread(s)\n" , np -> name ,
275275 nthreads );
276276 goto out_unlock ;
You can’t perform that action at this time.
0 commit comments