projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly.
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sparc64
/
kernel
/
pci_sabre.c
diff --git
a/arch/sparc64/kernel/pci_sabre.c
b/arch/sparc64/kernel/pci_sabre.c
index de7f7850a844d72f70445b922a023edfac1af40d..94bb681f232379bf05a77df690c4e9944369d8d5 100644
(file)
--- 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)
/*
* Look for APB underneath.
*/
- sabre_pbm_init(p, dp, vdma[0], vdma[1]);
+ sabre_pbm_init(p, dp, vdma[0], vdma[
0] + vdma[
1]);
}