Skip to content

Commit

Permalink
[SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly.
Browse files Browse the repository at this point in the history
virtual-dma property layout is [start, size] not [start, end].

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Oct 20, 2006
1 parent ce9e3d9 commit e83f214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/pci_sabre.c
Original file line number Diff line number Diff line change
Expand Up @@ -1465,5 +1465,5 @@ void sabre_init(struct device_node *dp, char *model_name)
/*
* Look for APB underneath.
*/
sabre_pbm_init(p, dp, vdma[0], vdma[1]);
sabre_pbm_init(p, dp, vdma[0], vdma[0] + vdma[1]);
}

0 comments on commit e83f214

Please sign in to comment.