cpumask: Use accessors code.: parisc
Impact: use new API Use the accessors rather than frobbing bits directly. Most of this is in arch code I haven't even compiled, but it is mostly straightforward. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
This commit is contained in:
parent
bd071e1a37
commit
9bc181d8d7
2 changed files with 7 additions and 7 deletions
|
@ -214,7 +214,7 @@ static int __cpuinit processor_probe(struct parisc_device *dev)
|
|||
*/
|
||||
#ifdef CONFIG_SMP
|
||||
if (cpuid) {
|
||||
cpu_set(cpuid, cpu_present_map);
|
||||
set_cpu_present(cpuid, true);
|
||||
cpu_up(cpuid);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue