diff options
author | 2014-11-11 14:31:56 +0000 | |
---|---|---|
committer | 2014-12-04 12:41:48 +0000 | |
commit | 2f91fc331ad495a3e602f3d0e7fd6211b1d91204 (patch) | |
tree | 9b72ca8a9588b42f947afcb603a6dab55c2d0df5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xen/arm: remove outer_*_range call (diff) | |
download | linux-dev-2f91fc331ad495a3e602f3d0e7fd6211b1d91204.tar.xz linux-dev-2f91fc331ad495a3e602f3d0e7fd6211b1d91204.zip |
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 <catalin.marinas@arm.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions