diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2010-12-08 19:52:04 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2010-12-08 19:52:04 +0000 |
commit | ec195da48acab06f1f6fce059a18d83cc3539809 (patch) | |
tree | 0e4bfef0508506511edb0087c5b3550c347a3d26 /sys | |
parent | 81261a5a6d6343a92894c5df0483a6221b972375 (diff) | |
download | src-ec195da48acab06f1f6fce059a18d83cc3539809.tar.gz src-ec195da48acab06f1f6fce059a18d83cc3539809.zip |
MFi386 r1.94: If XEN, make pmap_kextract = pmap_kextract_ma. This is a
no-op currently, since FreeBSD/amd64 doesn't have (paravirtualized) Xen
support, but if/when that support is ever added we'll want this, and
until then it's harmless.
Notes
Notes:
svn path=/head/; revision=216306
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/busdma_machdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/amd64/busdma_machdep.c b/sys/amd64/amd64/busdma_machdep.c index 0b805b1a436d..d18f5bfd1b30 100644 --- a/sys/amd64/amd64/busdma_machdep.c +++ b/sys/amd64/amd64/busdma_machdep.c @@ -141,6 +141,11 @@ int run_filter(bus_dma_tag_t dmat, bus_addr_t paddr); int _bus_dmamap_count_pages(bus_dma_tag_t dmat, bus_dmamap_t map, pmap_t pmap, void *buf, bus_size_t buflen, int flags); +#ifdef XEN +#undef pmap_kextract +#define pmap_kextract pmap_kextract_ma +#endif + /* * Return true if a match is made. * |