VirtualBox

Changeset 50811 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Mar 18, 2014 5:05:24 PM (11 years ago)
Author:
vboxsync
Message:

spinlock-r0drv-linux.c: Backed out r83590 as I don't want false positives when building with RT_STRICT defined.

File:
1 edited

Legend:

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

    r48935 r50811  
    131131              ("pThis=%p u32Magic=%08x\n", pThis, pThis ? (int)pThis->u32Magic : 0));
    132132
    133 #if defined(CONFIG_PROVE_LOCKING) && !defined(RT_STRICT)
     133#ifdef CONFIG_PROVE_LOCKING
    134134    lockdep_off();
    135135#endif
     
    142142    else
    143143        spin_lock(&pThis->Spinlock);
    144 #if defined(CONFIG_PROVE_LOCKING) && !defined(RT_STRICT)
     144#ifdef CONFIG_PROVE_LOCKING
    145145    lockdep_on();
    146146#endif
     
    159159    RT_ASSERT_PREEMPT_CPUID_SPIN_RELEASE(pThis);
    160160
    161 #if defined(CONFIG_PROVE_LOCKING) && !defined(RT_STRICT)
     161#ifdef CONFIG_PROVE_LOCKING
    162162    lockdep_off();
    163163#endif
     
    170170    else
    171171        spin_unlock(&pThis->Spinlock);
    172 #if defined(CONFIG_PROVE_LOCKING) && !defined(RT_STRICT)
     172#ifdef CONFIG_PROVE_LOCKING
    173173    lockdep_on();
    174174#endif
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