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

blip

File:
1 edited

Legend:

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

    r423 r433  
    3939        hal_remote_sw ( XPTR( cxy , &ptr->taken ) , 0 );
    4040
    41 #if CONFIG_LOCKS_DEBUG
     41#if CONFIG_DEBUG_LOCKS
    4242        hal_remote_swd( XPTR( cxy , &ptr->owner ) , XPTR_NULL );
    4343        xlist_entry_init( XPTR( cxy , &ptr->list ) );
     
    7676                thread_ptr->remote_locks++;
    7777
    78 #if CONFIG_LOCKS_DEBUG
     78#if CONFIG_DEBUG_LOCKS
    7979                hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) ,
    8080                                XPTR( local_cxy , thread_ptr) );
     
    121121        thread_ptr->remote_locks++;
    122122
    123 #if CONFIG_LOCKS_DEBUG
     123#if CONFIG_DEBUG_LOCKS
    124124        hal_remote_swd( XPTR( lock_cxy  , &lock_ptr->owner ) ,
    125125                        XPTR( local_cxy , thread_ptr) );
     
    144144        thread_t          * thread_ptr = CURRENT_THREAD;
    145145
    146 #if CONFIG_LOCKS_DEBUG
     146#if CONFIG_DEBUG_LOCKS
    147147        hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL );
    148148        xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
     
    197197        thread_ptr->remote_locks++;
    198198
    199 #if CONFIG_LOCKS_DEBUG
     199#if CONFIG_DEBUG_LOCKS
    200200        hal_remote_swd( XPTR( lock_cxy  , &lock_ptr->owner ) ,
    201201                        XPTR( local_cxy , thread_ptr) );
     
    218218        thread_t          * thread_ptr = CURRENT_THREAD;
    219219
    220 #if CONFIG_LOCKS_DEBUG
     220#if CONFIG_DEBUG_LOCKS
    221221        hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL );
    222222        xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
Note: See TracChangeset for help on using the changeset viewer.