summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/spinlock_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/spinlock_types.h')
-rw-r--r--arch/s390/include/asm/spinlock_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/spinlock_types.h b/arch/s390/include/asm/spinlock_types.h
index fe755eec275f..271b4da94fd0 100644
--- a/arch/s390/include/asm/spinlock_types.h
+++ b/arch/s390/include/asm/spinlock_types.h
@@ -12,8 +12,8 @@ typedef struct {
#define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, }
typedef struct {
- int lock;
- int owner;
+ int cnts;
+ arch_spinlock_t wait;
} arch_rwlock_t;
#define __ARCH_RW_LOCK_UNLOCKED { 0 }