]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit1371be0f7c8f6141b2dbfde6a7ae7885bedb9834
treefb2029b6b59f5e68793f9cad2f10f2b1e5a78e7b
parenta0abd520fd69295f4a3735e29a9448a32e101d47
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 ee0c468b (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