aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r--arch/powerpc/lib/dma-noncoherent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/dma-noncoherent.c b/arch/powerpc/lib/dma-noncoherent.c
index 5d83907f6591..31734c0969cd 100644
--- a/arch/powerpc/lib/dma-noncoherent.c
+++ b/arch/powerpc/lib/dma-noncoherent.c
@@ -203,7 +203,7 @@ __dma_alloc_coherent(size_t size, dma_addr_t *handle, gfp_t gfp)
203 /* 203 /*
204 * Set the "dma handle" 204 * Set the "dma handle"
205 */ 205 */
206 *handle = page_to_bus(page); 206 *handle = page_to_phys(page);
207 207
208 do { 208 do {
209 BUG_ON(!pte_none(*pte)); 209 BUG_ON(!pte_none(*pte));