summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/prom_64.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-16 14:40:23 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-03-16 14:40:23 +1030
commit89229071c049e518668e34b234167d5ed9c94534 (patch)
tree16d7ba9df11be2dc97607d8cc5e60ff336cea42c /arch/sparc/kernel/prom_64.c
parentfe73971cdd9287eba5f834eb3794768c22718581 (diff)
downloadlwn-89229071c049e518668e34b234167d5ed9c94534.tar.gz
lwn-89229071c049e518668e34b234167d5ed9c94534.zip
cpumask: Use accessors code.: sparc64
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 is straightforward. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/sparc/kernel/prom_64.c')
-rw-r--r--arch/sparc/kernel/prom_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom_64.c b/arch/sparc/kernel/prom_64.c
index edecca7b8116..ca55c7012f77 100644
--- a/arch/sparc/kernel/prom_64.c
+++ b/arch/sparc/kernel/prom_64.c
@@ -518,8 +518,8 @@ void __init of_fill_in_cpu_data(void)
}
#ifdef CONFIG_SMP
- cpu_set(cpuid, cpu_present_map);
- cpu_set(cpuid, cpu_possible_map);
+ set_cpu_present(cpuid, true);
+ set_cpu_possible(cpuid, true);
#endif
}