提交 e83f214e 编写于 作者: D David S. Miller

[SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly.

virtual-dma property layout is [start, size] not [start, end].
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ce9e3d99
...@@ -1465,5 +1465,5 @@ void sabre_init(struct device_node *dp, char *model_name) ...@@ -1465,5 +1465,5 @@ void sabre_init(struct device_node *dp, char *model_name)
/* /*
* Look for APB underneath. * Look for APB underneath.
*/ */
sabre_pbm_init(p, dp, vdma[0], vdma[1]); sabre_pbm_init(p, dp, vdma[0], vdma[0] + vdma[1]);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册