summaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/pci
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2005-08-11 19:26:00 +0200
committerTony Luck <tony.luck@intel.com>2005-08-18 00:29:43 +0200
commit0aa2c72e59cf1d09a0b321e4e6292af78a51b8b3 (patch)
tree8d4e6cb59dac0bb17124f8ecac8dbfe450231b8e /arch/ia64/sn/pci
parent[IA64-SGI] - New SN hardware support - addr_macros (diff)
downloadlinux-0aa2c72e59cf1d09a0b321e4e6292af78a51b8b3.tar.xz
linux-0aa2c72e59cf1d09a0b321e4e6292af78a51b8b3.zip
[IA64-SGI] - New SN hardware support - use_alias_space
Use local SHUB alias space when referencing MMRs that are known to be node local. There is a slight performance benefit & code simplification. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/pci')
-rw-r--r--arch/ia64/sn/pci/pcibr/pcibr_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_dma.c b/arch/ia64/sn/pci/pcibr/pcibr_dma.c
index ae455b6b1897..0f254255f6a1 100644
--- a/arch/ia64/sn/pci/pcibr/pcibr_dma.c
+++ b/arch/ia64/sn/pci/pcibr/pcibr_dma.c
@@ -297,7 +297,7 @@ void sn_dma_flush(uint64_t addr)
* If CE ever needs the sn_dma_flush mechanism, we will have
* to account for that here and in tioce_bus_fixup().
*/
- uint32_t tio_id = REMOTE_HUB_L(nasid, TIO_NODE_ID);
+ uint32_t tio_id = HUB_L(TIO_IOSPACE_ADDR(nasid, TIO_NODE_ID));
uint32_t revnum = XWIDGET_PART_REV_NUM(tio_id);
/* TIOCP BRINGUP WAR (PV907516): Don't write buffer flush reg */