Commit 2c3bc137 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

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: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 78486ed9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
}

/*