git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-ia64
/
spinlock.h
diff --git
a/include/asm-ia64/spinlock.h
b/include/asm-ia64/spinlock.h
index
40f939c
..
a56a066
100644
(file)
--- a/
include/asm-ia64/spinlock.h
+++ b/
include/asm-ia64/spinlock.h
@@
-114,8
+114,8
@@
do { \
#define spin_unlock_wait(x) do { barrier(); } while ((x)->lock)
typedef struct {
#define spin_unlock_wait(x) do { barrier(); } while ((x)->lock)
typedef struct {
- volatile
int read_counter
: 31;
- volatile
int write_lock
: 1;
+ volatile
unsigned int read_counter
: 31;
+ volatile
unsigned int write_lock
: 1;
} rwlock_t;
#define RW_LOCK_UNLOCKED (rwlock_t) { 0, 0 }
} rwlock_t;
#define RW_LOCK_UNLOCKED (rwlock_t) { 0, 0 }