diff options
author | 2024-11-26 14:28:24 +0100 | |
---|---|---|
committer | 2024-11-28 14:12:04 +0100 | |
commit | 2c3bc137f1e339c4fa9485ec4028433b8cb7374b (patch) | |
tree | 3b5e213c1f63b2a95544b1cd9c82aabe96e69456 | |
parent | s390/spinlock: Use symbolic names in inline assemblies (diff) | |
download | wireguard-linux-2c3bc137f1e339c4fa9485ec4028433b8cb7374b.tar.xz wireguard-linux-2c3bc137f1e339c4fa9485ec4028433b8cb7374b.zip |
s390/spinlock: Remove condition code clobber from arch_spin_unlock()
Both instructions in arch_spin_unlock() do not clobber the condition
code. Therefore remove the condition code clobber from the inline assembly.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-rw-r--r-- | arch/s390/include/asm/spinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/spinlock.h b/arch/s390/include/asm/spinlock.h index f2722775baf6..9601e27d3291 100644 --- a/arch/s390/include/asm/spinlock.h +++ b/arch/s390/include/asm/spinlock.h @@ -85,7 +85,7 @@ static inline void arch_spin_unlock(arch_spinlock_t *lp) " sth %[zero],%[lock]\n" : [lock] "=R" (((unsigned short *)&lp->lock)[1]) : [zero] "d" (0) - : "cc", "memory"); + : "memory"); } /* |