VirtualBox

Changeset 44538 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Feb 5, 2013 11:43:00 AM (12 years ago)
Author:
vboxsync
Message:

BUGZ:6602 Do not disable lock validator on debug build.

File:
1 edited

Legend:

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

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