Ignore:
Timestamp:
Jun 8, 2009, 11:05:11 PM (16 years ago)
Author:
Paul Smedley
Message:

Add definition for DEFINE_SPINLOCK - remove OS/2 related hacks around this function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/linux/spinlock.h

    r441 r447  
    8080#define rwlock_init(x) *(x) = RW_LOCK_UNLOCKED;
    8181
     82#define DEFINE_SPINLOCK(x)      spinlock_t x = SPIN_LOCK_UNLOCKED
    8283#endif /* !SMP */
    8384#endif /* __LINUX_SPINLOCK_H */
Note: See TracChangeset for help on using the changeset viewer.