diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-16 04:10:22 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-16 04:10:22 (GMT) |
commit | fe73971cdd9287eba5f834eb3794768c22718581 (patch) | |
tree | d93f78ed3936ffcbc2385dcb31c389d8df947eeb /arch/sparc/kernel/sun4m_smp.c | |
parent | f46df02a5799460e74bcb5a3875d4245978f3bd2 (diff) | |
download | linux-fsl-qoriq-fe73971cdd9287eba5f834eb3794768c22718581.tar.xz |
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/sun4m_smp.c')
-rw-r--r-- | arch/sparc/kernel/sun4m_smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4m_smp.c b/arch/sparc/kernel/sun4m_smp.c index 8040376..2a8f4fc4 100644 --- a/arch/sparc/kernel/sun4m_smp.c +++ b/arch/sparc/kernel/sun4m_smp.c @@ -113,7 +113,7 @@ void __cpuinit smp4m_callin(void) local_irq_enable(); - cpu_set(cpuid, cpu_online_map); + set_cpu_online(cpuid, true); } /* |