aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-10-18 15:48:35 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-19 20:20:30 -0400
commite83f214e45a80459d2931ae1259ab5fae82c8a8e (patch)
tree05828b0d06c682c9f02f6b94b1eafabf2345638a /arch
parentce9e3d9953c8cb67001719b5516da2928e956be4 (diff)
[SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly.
virtual-dma property layout is [start, size] not [start, end]. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/pci_sabre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index de7f7850a844..94bb681f2323 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -1465,5 +1465,5 @@ void sabre_init(struct device_node *dp, char *model_name)
1465 /* 1465 /*
1466 * Look for APB underneath. 1466 * Look for APB underneath.
1467 */ 1467 */
1468 sabre_pbm_init(p, dp, vdma[0], vdma[1]); 1468 sabre_pbm_init(p, dp, vdma[0], vdma[0] + vdma[1]);
1469} 1469}