Changeset 54476 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Feb 25, 2015 10:16:13 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r54446 r54476 388 388 Args.cHits = 0; 389 389 390 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 2 7)390 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28) 391 391 cpumask_clear(&DstCpuMask); 392 392 cpumask_set_cpu(idCpu1, &DstCpuMask); 393 393 cpumask_set_cpu(idCpu2, &DstCpuMask); 394 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 395 cpus_clear(DstCpuMask); 396 cpu_set(idCpu1, DstCpuMask); 397 cpu_set(idCpu2, DstCpuMask); 394 398 #endif 395 399 … … 400 404 rc = smp_call_function_many(&DstCpuMask, rtmpLinuxWrapperPostInc, &Args, !fCallSelf /* wait */); 401 405 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 402 rc = smp_call_function_mask( &DstCpuMask, rtmpLinuxWrapperPostInc, &Args, !fCallSelf /* wait */);406 rc = smp_call_function_mask(DstCpuMask, rtmpLinuxWrapperPostInc, &Args, !fCallSelf /* wait */); 403 407 #else /* older kernels */ 404 408 rc = smp_call_function(rtMpLinuxOnPairWrapper, &Args, 0 /* retry */, 0 /* wait */);
Note:
See TracChangeset
for help on using the changeset viewer.