summaryrefslogtreecommitdiff
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 1861a0c5dd47..cfed272e4fd5 100644
--- a/arch/s390/include/asm/spinlock_types.h
+++ b/arch/s390/include/asm/spinlock_types.h
@@ -13,8 +13,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 }