aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2014-11-21 11:04:39 +0000
committerDavid Vrabel <[email protected]>2014-12-04 12:41:51 +0000
commita0f2dee0cd651efb5fac6a1d35b0a14460ebcdd4 (patch)
tree744fe380abf1d0c9676cdec3e39e31e3863ef613 /net/lapb/lapb_timer.c
parent2e2a7817fdb6304f8c95c29dae0c93e2727240f4 (diff)
xen: add a dma_addr_t dev_addr argument to xen_dma_map_page
dev_addr is the machine address of the page. The new parameter can be used by the ARM and ARM64 implementations of xen_dma_map_page to find out if the page is a local page (pfn == mfn) or a foreign page (pfn != mfn). dev_addr could be retrieved again from the physical address, using pfn_to_mfn, but it requires accessing an rbtree. Since we already have the dev_addr in our hands at the call site there is no need to get the mfn twice. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Acked-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions