svn commit: r216306 - head/sys/amd64/amd64

Colin Percival cperciva at
Wed Dec 8 19:52:05 UTC 2010

Author: cperciva
Date: Wed Dec  8 19:52:04 2010
New Revision: 216306

  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.


Modified: head/sys/amd64/amd64/busdma_machdep.c
--- head/sys/amd64/amd64/busdma_machdep.c	Wed Dec  8 19:48:29 2010	(r216305)
+++ head/sys/amd64/amd64/busdma_machdep.c	Wed Dec  8 19:52:04 2010	(r216306)
@@ -141,6 +141,11 @@ int run_filter(bus_dma_tag_t dmat, bus_a
 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
  * Return true if a match is made.

More information about the svn-src-all mailing list