VirtualBox

Ignore:
Timestamp:
Jun 28, 2011 7:48:17 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72532
Message:

warnings

Location:
trunk/src/VBox/Runtime/r0drv/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c

    r37295 r37672  
    204204    RTMPARGS Args;
    205205
     206#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
    206207    RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;
     208#endif
    207209    Args.pfnWorker = pfnWorker;
    208210    Args.pvUser1 = pvUser1;
     
    215217#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
    216218    rc = on_each_cpu(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
    217 
    218219#else /* older kernels */
    219 
    220220    RTThreadPreemptDisable(&PreemptState);
    221221    rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
  • trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c

    r37297 r37672  
    190190     */
    191191    rc = RTMpOnSpecific(idCpu, rtMpNotificationLinuxOnCurrentCpu, pNotifierBlock, &ulNativeEvent);
    192     Assert(RT_SUCCESS(rc));
     192    Assert(RT_SUCCESS(rc)); NOREF(rc);
    193193    return NOTIFY_DONE;
    194194}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette