x86, uv: fix cpumask iterator in uv_bau_init()
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Mar 2009 21:52:30 +0000 (08:22 +1030)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Mar 2009 08:47:54 +0000 (09:47 +0100)
commit2c74d66624ddbda8101d54d1e184cf9229b378bc
tree418c4c5a764b904d63efe3d92c2720ec20d2cf29
parent0ca0f16fd17c5d880dd0abbe03595b0c7c5b3c95
x86, uv: fix cpumask iterator in uv_bau_init()

Impact: fix boot crash on UV systems

Commit 76ba0ecda0de9accea9a91cb6dbde46782110e1c "cpumask: use
cpumask_var_t in uv_flush_tlb_others" used cur_cpu as an iterator;
it was supposed to be zero for the code below it.

Reported-by: Cliff Wickman <cpw@sgi.com>
Original-From: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Mike Travis <travis@sgi.com>
Cc: steiner@sgi.com
Cc: <stable@kernel.org>
LKML-Reference: <200903180822.31196.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/tlb_uv.c