diff options
| author | Stefano Stabellini <[email protected]> | 2014-11-11 14:31:56 +0000 |
|---|---|---|
| committer | David Vrabel <[email protected]> | 2014-12-04 12:41:48 +0000 |
| commit | 2f91fc331ad495a3e602f3d0e7fd6211b1d91204 (patch) | |
| tree | 9b72ca8a9588b42f947afcb603a6dab55c2d0df5 /kernel/bpf/arraymap.c | |
| parent | 35e0be88c426e8d2d6a4ed91d80ea25d73d127aa (diff) | |
xen/arm: if(pfn_valid(pfn)) call native dma_ops
Remove code duplication in mm32.c by calling the native dma_ops if the
page is a local page (not a foreign page). Use a simple pfn_valid(pfn)
check to figure out if the page is local, exploiting the fact that dom0
is mapped 1:1, therefore pfn_valid always returns false when called on a
foreign mfn.
Suggested-by: Catalin Marinas <[email protected]>
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions