|
RTEMS 6.1-rc6
|
Loading...
Searching...
No Matches
1#ifndef __LINUX_SPINLOCK_H__
2#define __LINUX_SPINLOCK_H__
6#define SPIN_LOCK_UNLOCKED (spinlock_t) { }
7#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
9#define spin_lock_init(lock) \
11CYG_UNUSED_PARAM(spinlock_t *, lock); \
14#define spin_lock(lock) \
16CYG_UNUSED_PARAM(spinlock_t *, lock); \
19#define spin_unlock(lock) \
21CYG_UNUSED_PARAM(spinlock_t *, lock); \
24#define spin_lock_bh(lock) \
26CYG_UNUSED_PARAM(spinlock_t *, lock); \
29#define spin_unlock_bh(lock) \
31CYG_UNUSED_PARAM(spinlock_t *, lock); \