summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp')
-rw-r--r--emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp b/emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp
new file mode 100644
index 000000000000..e446cd457d4c
--- /dev/null
+++ b/emulators/virtualbox-ose-kmod/files/patch-src-VBox-VMM-VMMR0-GMMR0.cpp
@@ -0,0 +1,13 @@
+Index: src/VBox/VMM/VMMR0/GMMR0.cpp
+===================================================================
+--- src/VBox/VMM/VMMR0/GMMR0.cpp (Revision 58727)
++++ src/VBox/VMM/VMMR0/GMMR0.cpp (Arbeitskopie)
+@@ -661,7 +661,7 @@
+ else
+ SUPR0Printf("GMMR0Init: RTR0MemObjAllocPhysNC(,64K,Any) -> %d!\n", rc);
+ #else
+-# ifdef RT_OS_WINDOWS
++# if defined(RT_OS_WINDOWS) || defined(RT_OS_FREEBSD)
+ pGMM->fLegacyAllocationMode = false;
+ # else
+ pGMM->fLegacyAllocationMode = true;