Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 694584
Collapse All | Expand All

(-)vboxdrv/r0drv/linux/mp-r0drv-linux.c (-5 / +5 lines)
Lines 284-294 Link Here
284
    {
284
    {
285
        /* Fire the function on all other CPUs without waiting for completion. */
285
        /* Fire the function on all other CPUs without waiting for completion. */
286
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
286
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
287
        int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* wait */);
287
        smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* wait */);
288
# else
288
# else
289
        int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* retry */, 0 /* wait */);
289
        int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* retry */, 0 /* wait */);
290
# endif
291
        Assert(!rc); NOREF(rc);
290
        Assert(!rc); NOREF(rc);
291
# endif
292
    }
292
    }
293
#endif
293
#endif
294
294
Lines 326-332 Link Here
326
{
326
{
327
#ifdef CONFIG_SMP
327
#ifdef CONFIG_SMP
328
    IPRT_LINUX_SAVE_EFL_AC();
328
    IPRT_LINUX_SAVE_EFL_AC();
329
    int rc;
330
    RTMPARGS Args;
329
    RTMPARGS Args;
331
330
332
    RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;
331
    RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;
Lines 338-350 Link Here
338
337
339
    RTThreadPreemptDisable(&PreemptState);
338
    RTThreadPreemptDisable(&PreemptState);
340
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
339
# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
341
    rc = smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */);
340
    smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */);
342
# else /* older kernels */
341
# else /* older kernels */
342
    int rc;
343
    rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
343
    rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
344
    Assert(rc == 0); NOREF(rc);
344
# endif /* older kernels */
345
# endif /* older kernels */
345
    RTThreadPreemptRestore(&PreemptState);
346
    RTThreadPreemptRestore(&PreemptState);
346
347
347
    Assert(rc == 0); NOREF(rc);
348
    IPRT_LINUX_RESTORE_EFL_AC();
348
    IPRT_LINUX_RESTORE_EFL_AC();
349
#else
349
#else
350
    RT_NOREF(pfnWorker, pvUser1, pvUser2);
350
    RT_NOREF(pfnWorker, pvUser1, pvUser2);
(-)vboxnetflt/linux/VBoxNetFlt-linux.c (-2 / +5 lines)
Lines 2123-2129 Link Here
2123
#endif
2123
#endif
2124
    if (in_dev != NULL)
2124
    if (in_dev != NULL)
2125
    {
2125
    {
2126
        for_ifa(in_dev) {
2126
       /* macros for_ifa() and endfor_ifa() disappear for kernel 5.3
2127
        * Code them directly */
2128
        struct in_ifaddr *ifa;
2129
        for (ifa = in_dev->ifa_list; ifa; ifa = ifa->ifa_next) {
2127
            if (VBOX_IPV4_IS_LOOPBACK(ifa->ifa_address))
2130
            if (VBOX_IPV4_IS_LOOPBACK(ifa->ifa_address))
2128
                return NOTIFY_OK;
2131
                return NOTIFY_OK;
2129
2132
Lines 2137-2143 Link Here
2137
2140
2138
            pThis->pSwitchPort->pfnNotifyHostAddress(pThis->pSwitchPort,
2141
            pThis->pSwitchPort->pfnNotifyHostAddress(pThis->pSwitchPort,
2139
                /* :fAdded */ true, kIntNetAddrType_IPv4, &ifa->ifa_address);
2142
                /* :fAdded */ true, kIntNetAddrType_IPv4, &ifa->ifa_address);
2140
        } endfor_ifa(in_dev);
2143
        }
2141
    }
2144
    }
2142
2145
2143
    /*
2146
    /*

Return to bug 694584