Ignore:
Timestamp:
Feb 14, 2018, 3:40:19 PM (4 years ago)
Author:
alain
Message:

blip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/rwlock.c

    r409 r433  
    3838    lock->count   = 0;
    3939
    40 #if CONFIG_LOCKS_DEBUG
     40#if CONFIG_DEBUG_LOCKS
    4141        lock->owner   = NULL;
    4242    list_entry_init( &lock->list );
     
    7070    this->local_locks++;
    7171
    72 #if CONFIG_LOCKS_DEBUG
     72#if CONFIG_DEBUG_LOCKS
    7373    list_add_first( &this->locks_root , &lock->list );
    7474#endif
     
    9898    this->local_locks--;
    9999
    100 #if CONFIG_LOCKS_DEBUG
     100#if CONFIG_DEBUG_LOCKS
    101101    list_unlink( &lock->list );
    102102#endif
     
    138138    this->local_locks++;
    139139
    140 #if CONFIG_LOCKS_DEBUG
     140#if CONFIG_DEBUG_LOCKS
    141141    lock->owner = this;
    142142    list_add_first( &this->locks_root , &lock->list );
     
    157157        hal_disable_irq( &mode );
    158158 
    159 #if CONFIG_LOCKS_DEBUG
     159#if CONFIG_DEBUG_LOCKS
    160160    lock->owner = NULL;
    161161    list_unlink( &lock->list );
Note: See TracChangeset for help on using the changeset viewer.