From 80bfab5ec8575703ef26b442a3af2d030793ebde Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 24 Dec 2020 23:03:55 +0100 Subject: [PATCH] - 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; -- 2.43.0