]> git.baikalelectronics.ru Git - kernel.git/commit
xen: make xen_create_contiguous_region return the dma address
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 9 Oct 2013 16:56:32 +0000 (16:56 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 9 Oct 2013 16:56:32 +0000 (16:56 +0000)
commit3df2e2c1f6a3d2f242e5b8fad6ba1cedfd84992b
tree7348359ef60c91ca9edfd71680a858f28a7d156e
parent38ff4d895ed9c8749bcfa688ae237dbc3f1e4170
xen: make xen_create_contiguous_region return the dma address

Modify xen_create_contiguous_region to return the dma address of the
newly contiguous buffer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Changes in v4:
- use virt_to_machine instead of virt_to_bus.
arch/x86/xen/mmu.c
drivers/xen/swiotlb-xen.c
include/xen/xen-ops.h