powerpc/cpumask: Update some comments
Since the *_map cpumask variants are deprecated, change the comments to instead refer to *_mask. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
25863de07a
commit
828a69869b
@@ -222,7 +222,7 @@ static void pseries_cpu_die(unsigned int cpu)
|
||||
}
|
||||
|
||||
/*
|
||||
* Update cpu_present_map and paca(s) for a new cpu node. The wrinkle
|
||||
* Update cpu_present_mask and paca(s) for a new cpu node. The wrinkle
|
||||
* here is that a cpu device node may represent up to two logical cpus
|
||||
* in the SMT case. We must honor the assumption in other code that
|
||||
* 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)
|
||||
cpumask_shift_left(tmp, tmp, nthreads);
|
||||
|
||||
if (cpumask_empty(tmp)) {
|
||||
printk(KERN_ERR "Unable to find space in cpu_present_map for"
|
||||
printk(KERN_ERR "Unable to find space in cpu_present_mask for"
|
||||
" processor %s with %d thread(s)\n", np->name,
|
||||
nthreads);
|
||||
goto out_unlock;
|
||||
|
Reference in New Issue
Block a user