Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/atomic.c

    r1b20da0 ra35b458  
    5454         */
    5555        irq_spinlock_lock(&cas_lock, true);
    56        
     56
    5757        void * cur_val = *ptr;
    58        
     58
    5959        if (cur_val == expected) {
    6060                *ptr = new_val;
    6161        }
    62        
     62
    6363        irq_spinlock_unlock(&cas_lock, true);
    64        
     64
    6565        return cur_val;
    6666}
Note: See TracChangeset for help on using the changeset viewer.