From: Jan Rękorajski Date: Thu, 24 Dec 2020 22:03:55 +0000 (+0100) Subject: - DECLCALLBACK generates incorrect code on ix86, remove it X-Git-Tag: auto/th/VirtualBox-6.1.16-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2FVirtualBox.git;a=commitdiff_plain;h=80bfab5 - DECLCALLBACK generates incorrect code on ix86, remove it --- 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;