diff options
Diffstat (limited to 'arch/microblaze/mm/consistent.c')
-rw-r--r-- | arch/microblaze/mm/consistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/consistent.c b/arch/microblaze/mm/consistent.c index dbbf2246a260..e10ad930895e 100644 --- a/arch/microblaze/mm/consistent.c +++ b/arch/microblaze/mm/consistent.c | |||
@@ -117,7 +117,7 @@ void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle) | |||
117 | ret = (void *)va; | 117 | ret = (void *)va; |
118 | 118 | ||
119 | /* This gives us the real physical address of the first page. */ | 119 | /* This gives us the real physical address of the first page. */ |
120 | *dma_handle = pa = virt_to_bus((void *)vaddr); | 120 | *dma_handle = pa = __virt_to_phys(vaddr); |
121 | #endif | 121 | #endif |
122 | 122 | ||
123 | /* | 123 | /* |