Changeset 433 for trunk/kernel/libk/remote_spinlock.c
- Timestamp:
- Feb 14, 2018, 3:40:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_spinlock.c
r423 r433 39 39 hal_remote_sw ( XPTR( cxy , &ptr->taken ) , 0 ); 40 40 41 #if CONFIG_ LOCKS_DEBUG41 #if CONFIG_DEBUG_LOCKS 42 42 hal_remote_swd( XPTR( cxy , &ptr->owner ) , XPTR_NULL ); 43 43 xlist_entry_init( XPTR( cxy , &ptr->list ) ); … … 76 76 thread_ptr->remote_locks++; 77 77 78 #if CONFIG_ LOCKS_DEBUG78 #if CONFIG_DEBUG_LOCKS 79 79 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , 80 80 XPTR( local_cxy , thread_ptr) ); … … 121 121 thread_ptr->remote_locks++; 122 122 123 #if CONFIG_ LOCKS_DEBUG123 #if CONFIG_DEBUG_LOCKS 124 124 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , 125 125 XPTR( local_cxy , thread_ptr) ); … … 144 144 thread_t * thread_ptr = CURRENT_THREAD; 145 145 146 #if CONFIG_ LOCKS_DEBUG146 #if CONFIG_DEBUG_LOCKS 147 147 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL ); 148 148 xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) ); … … 197 197 thread_ptr->remote_locks++; 198 198 199 #if CONFIG_ LOCKS_DEBUG199 #if CONFIG_DEBUG_LOCKS 200 200 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , 201 201 XPTR( local_cxy , thread_ptr) ); … … 218 218 thread_t * thread_ptr = CURRENT_THREAD; 219 219 220 #if CONFIG_ LOCKS_DEBUG220 #if CONFIG_DEBUG_LOCKS 221 221 hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL ); 222 222 xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
Note: See TracChangeset
for help on using the changeset viewer.