CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/05/05 18:23:49
Modified files:
lib/librthread/arch/mips64: _atomic_lock.c
Log message:
If the lock is contended, such that the 'sc' fails, then we need to
reset the %2 register with _SPINLOCK_LOCKED before retrying.
tobiasu@ hit the problem and figured out that ".set noreorder" is
needed in the ASM
