summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4d_smp.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-16 05:10:22 +0100
committerRusty Russell <rusty@rustcorp.com.au>2009-03-16 05:10:22 +0100
commitfe73971cdd9287eba5f834eb3794768c22718581 (patch)
treed93f78ed3936ffcbc2385dcb31c389d8df947eeb /arch/sparc/kernel/sun4d_smp.c
parentcpumask: arch_send_call_function_ipi_mask: sparc (diff)
downloadlinux-fe73971cdd9287eba5f834eb3794768c22718581.tar.xz
linux-fe73971cdd9287eba5f834eb3794768c22718581.zip
cpumask: Use accessors code: sparc
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>
Diffstat (limited to 'arch/sparc/kernel/sun4d_smp.c')
-rw-r--r--arch/sparc/kernel/sun4d_smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c
index 50afaed99c8a..e85e6aa1abd8 100644
--- a/arch/sparc/kernel/sun4d_smp.c
+++ b/arch/sparc/kernel/sun4d_smp.c
@@ -150,7 +150,7 @@ void __cpuinit smp4d_callin(void)
spin_lock_irqsave(&sun4d_imsk_lock, flags);
cc_set_imsk(cc_get_imsk() & ~0x4000); /* Allow PIL 14 as well */
spin_unlock_irqrestore(&sun4d_imsk_lock, flags);
- cpu_set(cpuid, cpu_online_map);
+ set_cpu_online(cpuid, true);
}