Changeset 32711 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Sep 23, 2010 12:12:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r32707 r32711 599 599 * Check for unwanted migration. 600 600 */ 601 if ( pTimer->fAllCpus602 && RT_ LIKELY((RTCPUID)(pSubTimer - &pTimer->aSubTimers[0]) == RTMpCpuId()))601 if ( (pTimer->fSpecificCpu || pTimer->fAllCpus) 602 && RT_UNLIKELY((RTCPUID)(pSubTimer - &pTimer->aSubTimers[0]) != RTMpCpuId())) 603 603 { 604 604 rtTimerLnxCallbackHandleMigration(pTimer, pSubTimer); … … 686 686 * Check for unwanted migration. 687 687 */ 688 if ( pTimer->fAllCpus689 && RT_ LIKELY((RTCPUID)(pSubTimer - &pTimer->aSubTimers[0]) == RTMpCpuId()))688 if ( (pTimer->fSpecificCpu || pTimer->fAllCpus) 689 && RT_UNLIKELY((RTCPUID)(pSubTimer - &pTimer->aSubTimers[0]) != RTMpCpuId())) 690 690 { 691 691 rtTimerLnxCallbackHandleMigration(pTimer, pSubTimer);
Note:
See TracChangeset
for help on using the changeset viewer.