]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, UV: Fix and clean up bau code to use uv_gpa_to_pnode()
authorRobin Holt <holt@sgi.com>
Fri, 16 Oct 2009 11:29:20 +0000 (06:29 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Oct 2009 12:51:53 +0000 (14:51 +0200)
commit1d21e6e3ffad2939f9d8179817c6f9bc3b811b68
tree394a3db2e734dc89411dcb8f71258dae57266b38
parent93ae5012a79b11e7fc855b52c7ce1e16fe1540b0
x86, UV: Fix and clean up bau code to use uv_gpa_to_pnode()

Create an inline function to extract the pnode from a global
physical address and then convert the broadcast assist unit to
use the newly created uv_gpa_to_pnode function.

The open-coded code was wrong as well - it might explain a
few of our unexplained bau hangs.

Signed-off-by: Robin Holt <holt@sgi.com>
Acked-by: Cliff Whickman <cpw@sgi.com>
Cc: linux-mm@kvack.org
Cc: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20091016112920.GZ8903@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uv/uv_hub.h
arch/x86/kernel/tlb_uv.c