]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: Use cpu_*_mask accessors code: alpha
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Feb 2009 23:31:59 +0000 (17:31 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Feb 2009 07:02:00 +0000 (17:32 +1030)
commit96e2e453967e51fdcebfdd0702dc4b7844d9c624
treefb2029b6b59f5e68793f9cad2f10f2b1e5a78e7b
parent14c6a9bbcc6bbfb1ac4a015c4743e575d21d017b
cpumask: Use cpu_*_mask accessors code: alpha

Impact: use new API, fix SMP bug.

Use the new accessors rather than frobbing bits directly.

This also removes the bug introduced in c1a0f2d4 (alpha: compile
fixes) which had Alpha setting bits on an on-stack cpumask, not the
cpu_online_map.

Cc: Richard Henderson <rth@twiddle.net>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Ingo Molnar <mingo@elte.hu>
arch/alpha/kernel/process.c
arch/alpha/kernel/smp.c