Changeset 57276 in vbox for trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
- Timestamp:
- Aug 11, 2015 2:39:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r56290 r57276 249 249 RTDECL(int) RTMpOnAll(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 250 250 { 251 IPRT_LINUX_SAVE_EFL_AC(); 251 252 int rc; 252 253 RTMPARGS Args; … … 301 302 302 303 RTThreadPreemptRestore(&PreemptState); 304 IPRT_LINUX_RESTORE_EFL_AC(); 303 305 return VINF_SUCCESS; 304 306 } … … 308 310 RTDECL(int) RTMpOnOthers(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 309 311 { 312 IPRT_LINUX_SAVE_EFL_AC(); 310 313 int rc; 311 314 RTMPARGS Args; … … 327 330 328 331 Assert(rc == 0); NOREF(rc); 332 IPRT_LINUX_RESTORE_EFL_AC(); 329 333 return VINF_SUCCESS; 330 334 } … … 356 360 RTDECL(int) RTMpOnPair(RTCPUID idCpu1, RTCPUID idCpu2, uint32_t fFlags, PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 357 361 { 362 IPRT_LINUX_SAVE_EFL_AC(); 358 363 int rc; 359 364 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; … … 443 448 rc = VERR_CPU_NOT_FOUND; 444 449 RTThreadPreemptRestore(&PreemptState);; 450 IPRT_LINUX_RESTORE_EFL_AC(); 445 451 return rc; 446 452 } … … 478 484 RTDECL(int) RTMpOnSpecific(RTCPUID idCpu, PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2) 479 485 { 486 IPRT_LINUX_SAVE_EFL_AC(); 480 487 int rc; 481 488 RTMPARGS Args; … … 517 524 518 525 NOREF(rc); 526 IPRT_LINUX_RESTORE_EFL_AC(); 519 527 return rc; 520 528 } … … 539 547 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) 540 548 int rc; 549 IPRT_LINUX_SAVE_EFL_AC(); 541 550 542 551 if (!RTMpIsCpuPossible(idCpu)) … … 554 563 NOREF(rc); 555 564 Assert(rc == 0); 565 IPRT_LINUX_RESTORE_EFL_AC(); 556 566 return VINF_SUCCESS; 557 567
Note:
See TracChangeset
for help on using the changeset viewer.