diff options
Diffstat (limited to 'arch/s390/include/asm/spinlock.h')
-rw-r--r-- | arch/s390/include/asm/spinlock.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/s390/include/asm/spinlock.h b/arch/s390/include/asm/spinlock.h index f7838ecd83c6..217ee5210c32 100644 --- a/arch/s390/include/asm/spinlock.h +++ b/arch/s390/include/asm/spinlock.h | |||
@@ -98,13 +98,6 @@ static inline void arch_spin_unlock(arch_spinlock_t *lp) | |||
98 | : "cc", "memory"); | 98 | : "cc", "memory"); |
99 | } | 99 | } |
100 | 100 | ||
101 | static inline void arch_spin_unlock_wait(arch_spinlock_t *lock) | ||
102 | { | ||
103 | while (arch_spin_is_locked(lock)) | ||
104 | arch_spin_relax(lock); | ||
105 | smp_acquire__after_ctrl_dep(); | ||
106 | } | ||
107 | |||
108 | /* | 101 | /* |
109 | * Read-write spinlocks, allowing multiple readers | 102 | * Read-write spinlocks, allowing multiple readers |
110 | * but only one writer. | 103 | * but only one writer. |