Changeset 4e5dabf in mainline for kernel/generic/src/synch/spinlock.c


Ignore:
Timestamp:
2012-06-01T18:55:03Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77ad86c
Parents:
db675dd
Message:

cstyle (no change in functionality)

File:
1 edited

Legend:

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

    rdb675dd r4e5dabf  
    262262        int rc = spinlock_trylock(&(lock->lock));
    263263       
    264         ASSERT_IRQ_SPINLOCK(!rc || !lock->guard, lock);
     264        ASSERT_IRQ_SPINLOCK((!rc) || (!lock->guard), lock);
    265265        return rc;
    266266}
Note: See TracChangeset for help on using the changeset viewer.