]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/microblaze/mm/consistent.c
Merge tag 'pm+acpi-3.15-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...
[mirror_ubuntu-hirsute-kernel.git] / arch / microblaze / mm / consistent.c
index dbbf2246a260fcb3e6d90e78b65655416ccf7d45..e10ad930895e23a5d8e229ba3267eb9344dc772e 100644 (file)
@@ -117,7 +117,7 @@ void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle)
        ret = (void *)va;
 
        /* This gives us the real physical address of the first page. */
-       *dma_handle = pa = virt_to_bus((void *)vaddr);
+       *dma_handle = pa = __virt_to_phys(vaddr);
 #endif
 
        /*