projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
document nlink function
[cascardo/linux.git]
/
include
/
asm-sh
/
spinlock_types.h
diff --git
a/include/asm-sh/spinlock_types.h
b/include/asm-sh/spinlock_types.h
index
8c41b6c
..
5c58134
100644
(file)
--- a/
include/asm-sh/spinlock_types.h
+++ b/
include/asm-sh/spinlock_types.h
@@
-9,7
+9,9
@@
typedef struct {
volatile unsigned long lock;
} raw_spinlock_t;
-#define __SPIN_LOCK_UNLOCKED { 0 }
+#define __RAW_SPIN_LOCK_UNLOCKED { 1 }
+
+#include <asm/atomic.h>
typedef struct {
raw_spinlock_t lock;