Skip to content

Commit

Permalink
[MIPS] Don't use R10000 llsc workaround version for all llsc-full pro…
Browse files Browse the repository at this point in the history
…cessors.

Found and original patch by bile@landofbile.com.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2006
1 parent 8b922a8 commit 904880e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-mips/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 904880e

Please sign in to comment.