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/spinlock.c

    r409 r433  
    3838    lock->taken = 0;
    3939
    40 #if CONFIG_LOCKS_DEBUG
     40#if CONFIG_DEBUG_LOCKS
    4141    lock->owner = NULL;
    4242    list_entry_init( &lock->list );
     
    7171    this->local_locks++;
    7272
    73 #if CONFIG_LOCKS_DEBUG
     73#if CONFIG_DEBUG_LOCKS
    7474    lock->owner = this;
    7575    list_add_first( &this->locks_root , &lock->list );
     
    8686    thread_t * this = CURRENT_THREAD;;
    8787
    88 #if CONFIG_LOCKS_DEBUG
     88#if CONFIG_DEBUG_LOCKS
    8989    lock->owner = NULL;
    9090    list_unlink( &lock->list );
     
    132132    this->local_locks++;
    133133
    134 #if CONFIG_LOCKS_DEBUG
     134#if CONFIG_DEBUG_LOCKS
    135135    lock->owner = this;
    136136    list_add_first( &this->locks_root , &lock->list );
     
    162162        this->local_locks++;
    163163
    164 #if CONFIG_LOCKS_DEBUG
     164#if CONFIG_DEBUG_LOCKS
    165165        lock->owner = this;
    166166        list_add_first( &this->locks_root , &lock->list );
     
    177177    thread_t * this = CURRENT_THREAD;
    178178
    179 #if CONFIG_LOCKS_DEBUG
     179#if CONFIG_DEBUG_LOCKS
    180180    lock->owner = NULL;
    181181    list_unlink( &lock->list );
Note: See TracChangeset for help on using the changeset viewer.