]> git.pld-linux.org Git - packages/VirtualBox.git/blob - 32bit.patch
bring back "DECLCALLBACK generates incorrect code on ix86, remove it" as 32bit.patch
[packages/VirtualBox.git] / 32bit.patch
1 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
2 --- VirtualBox-6.1.18.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c    2021-01-07 16:42:09.000000000 +0100
3 +++ VirtualBox-6.1.18/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c 2021-01-21 23:13:58.808360771 +0100
4 @@ -536,7 +536,7 @@
5   * @param   uAddr               The address to apply the new protection to.
6   * @param   pvUser              The opaque user data.
7   */
8 -static DECLCALLBACK(int) rtR0MemObjLinuxApplyPageRange(pte_t *pPte, unsigned long uAddr, void *pvUser)
9 +static int rtR0MemObjLinuxApplyPageRange(pte_t *pPte, unsigned long uAddr, void *pvUser)
10  {
11      PCLNXAPPLYPGRANGE pArgs = (PCLNXAPPLYPGRANGE)pvUser;
12      PRTR0MEMOBJLNX pMemLnx = pArgs->pMemLnx;
This page took 0.02519 seconds and 3 git commands to generate.