Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 769a128 in mainline


Ignore:
Timestamp:
2010-05-20T20:58:40Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
f34c09e
Parents:
dbd5df1b
Message:

Fix irq_spinlock_t for non-SMP builds.

File:
1 edited

Legend:

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

    rdbd5df1b r769a128  
    184184
    185185typedef struct {
    186         spinlock_t lock;  /**< Spinlock */
    187         bool guard;       /**< Flag whether ipl is valid */
    188         ipl_t ipl;        /**< Original interrupt level */
     186        SPINLOCK_DECLARE(lock); /**< Spinlock */
     187        bool guard;             /**< Flag whether ipl is valid */
     188        ipl_t ipl;              /**< Original interrupt level */
    189189} irq_spinlock_t;
    190190
Note: See TracChangeset for help on using the changeset viewer.