PERFORCE change 122916 for review
Kip Macy
kmacy at FreeBSD.org
Thu Jul 5 07:30:14 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122916
Change 122916 by kmacy at kmacy_vt-x:opentoe_init on 2007/07/05 07:29:46
turn contigmalloc2 into a no-op on x86_64
Affected files ...
.. //depot/projects/opentoe/sys/vm/vm_contig.c#6 edit
Differences ...
==== //depot/projects/opentoe/sys/vm/vm_contig.c#6 (text+ko) ====
@@ -190,7 +190,11 @@
vm_map_t map = kernel_map;
vm_offset_t addr, tmp_addr;
vm_pindex_t i;
-
+
+#ifdef __amd64__
+ return (void *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(m));
+#endif
+
/*
* Allocate kernel VM, unfree and assign the physical pages to
* it and return kernel VM pointer.
More information about the p4-projects
mailing list