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>
This commit is contained in:
Heiko Carstens 2024-11-26 14:28:24 +01:00
parent 78486ed9e7
commit 2c3bc137f1

View File

@ -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");
}
/*