mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
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:
parent
78486ed9e7
commit
2c3bc137f1
@ -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");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user