VirtualBox

Changeset 39008 in vbox


Ignore:
Timestamp:
Oct 17, 2011 2:54:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74411
Message:

in_atomic() was added in 2.5.32 (i386).

File:
1 edited

Legend:

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

    r39007 r39008  
    14551455        /* For paranoid reasons, defer actually destroying the semaphore when
    14561456           in atomic or interrupt context. */
     1457#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 32)
    14571458        if (in_atomic() || in_interrupt())
     1459#else
     1460        if (in_interrupt())
     1461#endif
    14581462            rtR0LnxWorkqueuePush(&pTimer->DtorWorkqueueItem, rtTimerLnxDestroyDeferred);
    14591463        else
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