Commit f2b16d7e authored by Art Haas's avatar Art Haas Committed by David S. Miller

[SPARC32]: Fix SPIN_LOCK_UNLOCKED define.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 806eabce
......@@ -91,7 +91,7 @@ typedef struct {
#endif
} spinlock_t;
#define SPIN_LOCK_UNLOCKED { 0, }
#define SPIN_LOCK_UNLOCKED (spinlock_t) { 0 }
#define spin_lock_init(lock) (*((unsigned char *)(lock)) = 0)
#define spin_is_locked(lock) (*((volatile unsigned char *)(lock)) != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment