commit | 904880e717c5466041485ca6d6e8c6c1ef06d0fd | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Fri Oct 13 11:32:50 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Nov 02 17:23:33 2006 +0000 |
tree | b85b7025bad2bcce348c208b8b0fdd137aa2132a | |
parent | 8b922a851731037b2f1e1669e9b1a0baff3ab5dc [diff] |
[MIPS] Don't use R10000 llsc workaround version for all llsc-full processors. Found and original patch by bile@landofbile.com. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index dcb4701..3056fee 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h
@@ -392,7 +392,7 @@ { __u64 retval; - if (cpu_has_llsc) { + if (cpu_has_llsc && R10000_LLSC_WAR) { __asm__ __volatile__( " .set push \n" " .set noat \n"