Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 904880e7 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Don't use R10000 llsc workaround version for all llsc-full processors.



Found and original patch by bile@landofbile.com.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 8b922a85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ static inline unsigned long __cmpxchg_u64(volatile int * m, unsigned long old,
{
	__u64 retval;

	if (cpu_has_llsc) {
	if (cpu_has_llsc && R10000_LLSC_WAR) {
		__asm__ __volatile__(
		"	.set	push					\n"
		"	.set	noat					\n"