diff options
author | Alex Nixon | 2009-02-09 21:05:46 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk | 2010-06-07 21:37:53 +0200 |
commit | 08bbc9da92f7e44b9c208c6a1adba70c403b255e (patch) | |
tree | 75c6cf9422e03990d1fd280b631d00ea4d4dbe4b /kernel/rwsem.c | |
parent | xen: Rename the balloon lock (diff) | |
download | kernel-qcow2-linux-08bbc9da92f7e44b9c208c6a1adba70c403b255e.tar.gz kernel-qcow2-linux-08bbc9da92f7e44b9c208c6a1adba70c403b255e.tar.xz kernel-qcow2-linux-08bbc9da92f7e44b9c208c6a1adba70c403b255e.zip |
xen: Add xen_create_contiguous_region
A memory region must be physically contiguous in order to be accessed
through DMA. This patch adds xen_create_contiguous_region, which
ensures a region of contiguous virtual memory is also physically
contiguous.
Based on Stephen Tweedie's port of the 2.6.18-xen version.
Remove contiguous_bitmap[] as it's no longer needed.
Ported from linux-2.6.18-xen.hg 707:e410857fd83c
[ Impact: add Xen-internal API to make pages phys-contig ]
Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions