VirtualBox

Changeset 43856 in vbox for trunk


Ignore:
Timestamp:
Nov 12, 2012 12:26:28 PM (12 years ago)
Author:
vboxsync
Message:

Runtime/timer: actually disable the interrupts while having the spinlock aquired

File:
1 edited

Legend:

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

    r40806 r43856  
    15581558    if (cCpus > 1)
    15591559    {
    1560         int rc = RTSpinlockCreate(&pTimer->hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, "RTTimerLnx");
     1560        int rc = RTSpinlockCreate(&pTimer->hSpinlock, RTSPINLOCK_FLAGS_INTERRUPT_SAFE, "RTTimerLnx");
    15611561        if (RT_SUCCESS(rc))
    15621562            rc = RTMpNotificationRegister(rtTimerLinuxMpEvent, pTimer);
Note: See TracChangeset for help on using the changeset viewer.

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