Changeset 37672 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Jun 28, 2011 7:48:17 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72532
- 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 204 204 RTMPARGS Args; 205 205 206 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) 206 207 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; 208 #endif 207 209 Args.pfnWorker = pfnWorker; 208 210 Args.pvUser1 = pvUser1; … … 215 217 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) 216 218 rc = on_each_cpu(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); 217 218 219 #else /* older kernels */ 219 220 220 RTThreadPreemptDisable(&PreemptState); 221 221 rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */); -
trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c
r37297 r37672 190 190 */ 191 191 rc = RTMpOnSpecific(idCpu, rtMpNotificationLinuxOnCurrentCpu, pNotifierBlock, &ulNativeEvent); 192 Assert(RT_SUCCESS(rc)); 192 Assert(RT_SUCCESS(rc)); NOREF(rc); 193 193 return NOTIFY_DONE; 194 194 }
Note:
See TracChangeset
for help on using the changeset viewer.