x86, UV: Correct reset_with_ipi()
authorcpw@sgi.com <cpw@sgi.com>
Tue, 21 Jun 2011 12:21:29 +0000 (07:21 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Jun 2011 12:50:32 +0000 (14:50 +0200)
commit485f07d349a3e5059413b886a3bc1996c4b3d14d
treeeae1805babf68f71f2b75ca3a2cb675721993def
parent9c9153db22870c3f37add83bea30500fcc268a73
x86, UV: Correct reset_with_ipi()

Fix reset_with_ipi() to look up a cpu for a blade based on the
distribution map being indexed by the potentially sparsely
numbered pnode.

This patch is critical to tlb shootdown on a partitioned UV
system, or one with nonconsecutive blade numbers.

The distribution map bits represent pnodes relative to the partition base
pnode. Previous to this patch it had been assuming bits based on 0-based,
consecutive blade ids.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20110621122242.497700003@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/platform/uv/tlb_uv.c