]> git.pld-linux.org Git - packages/VirtualBox.git/blobdiff - 32bit.patch
bring back "DECLCALLBACK generates incorrect code on ix86, remove it" as 32bit.patch
[packages/VirtualBox.git] / 32bit.patch
diff --git a/32bit.patch b/32bit.patch
new file mode 100644 (file)
index 0000000..c1ab2c0
--- /dev/null
@@ -0,0 +1,12 @@
+diff --color -ur VirtualBox-6.1.18.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c VirtualBox-6.1.18/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+--- VirtualBox-6.1.18.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c   2021-01-07 16:42:09.000000000 +0100
++++ VirtualBox-6.1.18/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c        2021-01-21 23:13:58.808360771 +0100
+@@ -536,7 +536,7 @@
+  * @param   uAddr               The address to apply the new protection to.
+  * @param   pvUser              The opaque user data.
+  */
+-static DECLCALLBACK(int) rtR0MemObjLinuxApplyPageRange(pte_t *pPte, unsigned long uAddr, void *pvUser)
++static int rtR0MemObjLinuxApplyPageRange(pte_t *pPte, unsigned long uAddr, void *pvUser)
+ {
+     PCLNXAPPLYPGRANGE pArgs = (PCLNXAPPLYPGRANGE)pvUser;
+     PRTR0MEMOBJLNX pMemLnx = pArgs->pMemLnx;
This page took 0.038947 seconds and 4 git commands to generate.