Changeset 423 for trunk/kernel/libk/remote_rwlock.c
- Timestamp:
- Jan 29, 2018, 5:49:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_rwlock.c
r409 r423 34 34 void remote_rwlock_init( xptr_t lock_xp ) 35 35 { 36 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );36 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 37 37 cxy_t lock_cxy = GET_CXY( lock_xp ); 38 38 … … 55 55 56 56 // get cluster and local pointer on remote_rwlock 57 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );57 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 58 58 cxy_t lock_cxy = GET_CXY( lock_xp ); 59 59 … … 108 108 109 109 // get cluster and local pointer on remote_rwlock 110 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );110 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 111 111 cxy_t lock_cxy = GET_CXY( lock_xp ); 112 112 … … 127 127 128 128 #if CONFIG_LOCKS_DEBUG 129 xlist_unlink( XPTR( lock_cxy , &lock ->ptr->list ) );129 xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) ); 130 130 #endif 131 131 … … 145 145 146 146 // get cluster and local pointer on remote_rwlock 147 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );147 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 148 148 cxy_t lock_cxy = GET_CXY( lock_xp ); 149 149 … … 197 197 198 198 // get cluster and local pointer on remote_rwlock 199 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );199 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 200 200 cxy_t lock_cxy = GET_CXY( lock_xp ); 201 201 … … 237 237 238 238 // get cluster and local pointer on remote_rwlock 239 remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );239 remote_rwlock_t * lock_ptr = GET_PTR( lock_xp ); 240 240 cxy_t lock_cxy = GET_CXY( lock_xp ); 241 241
Note: See TracChangeset
for help on using the changeset viewer.