Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/spinlock.c

    r2b4a9f26 r13108f24  
    128128void spinlock_unlock_debug(spinlock_t *lock)
    129129{
    130         ASSERT_SPINLOCK(atomic_get(&lock->val) != 0, lock);
     130        ASSERT(atomic_get(&lock->val) != 0);
    131131       
    132132        /*
     
    143143/** Lock spinlock conditionally
    144144 *
    145  * Lock spinlock conditionally. If the spinlock is not available
    146  * at the moment, signal failure.
     145 * Lock spinlock conditionally.
     146 * If the spinlock is not available at the moment,
     147 * signal failure.
    147148 *
    148149 * @param lock Pointer to spinlock_t structure.
Note: See TracChangeset for help on using the changeset viewer.