mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 23:23:18 +00:00
[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>
This commit is contained in:
parent
8b922a8517
commit
904880e717
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ static inline unsigned long __cmpxchg_u64(volatile int * m, unsigned long old,
|
||||||
{
|
{
|
||||||
__u64 retval;
|
__u64 retval;
|
||||||
|
|
||||||
if (cpu_has_llsc) {
|
if (cpu_has_llsc && R10000_LLSC_WAR) {
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
" .set push \n"
|
" .set push \n"
|
||||||
" .set noat \n"
|
" .set noat \n"
|
||||||
|
|
Loading…
Reference in a new issue