[packages/VirtualBox] - DECLCALLBACK generates incorrect code on ix86, remove it

baggins baggins at pld-linux.org
Thu Dec 24 23:05:02 CET 2020


commit 80bfab5ec8575703ef26b442a3af2d030793ebde
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Dec 24 23:03:55 2020 +0100

    - DECLCALLBACK generates incorrect code on ix86, remove it

 kernel-5.10.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kernel-5.10.patch b/kernel-5.10.patch
index b28d6e0..729235d 100644
--- a/kernel-5.10.patch
+++ b/kernel-5.10.patch
@@ -106,7 +106,7 @@ Index: src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
 + * @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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/80bfab5ec8575703ef26b442a3af2d030793ebde



More information about the pld-cvs-commit mailing list