Ignore:
Timestamp:
2018-01-30T03:20:45Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/spinlock.h

    r8bfb163 r132ab5d1  
    112112
    113113extern void spinlock_initialize(spinlock_t *, const char *);
    114 extern int spinlock_trylock(spinlock_t *);
     114extern bool spinlock_trylock(spinlock_t *);
    115115extern void spinlock_lock_debug(spinlock_t *);
    116116extern void spinlock_unlock_debug(spinlock_t *);
     
    287287extern void irq_spinlock_lock(irq_spinlock_t *, bool);
    288288extern void irq_spinlock_unlock(irq_spinlock_t *, bool);
    289 extern int irq_spinlock_trylock(irq_spinlock_t *);
     289extern bool irq_spinlock_trylock(irq_spinlock_t *);
    290290extern void irq_spinlock_pass(irq_spinlock_t *, irq_spinlock_t *);
    291291extern void irq_spinlock_exchange(irq_spinlock_t *, irq_spinlock_t *);
Note: See TracChangeset for help on using the changeset viewer.