Update of /cvsroot/linux-mips/linux/arch/mips/kernel
In directory usw-pr-cvs1:/tmp/cvs-serv25674/arch/mips/kernel
Modified Files:
fast-sysmips.S
Added Files:
sysmips.c
Log Message:
Fix sysmips(MIPS_ATOMIC_SET, ...) for CPUs without ll/sc instructions.
Now vr41xx and R3000 CPUs should work fine without further patch.
When the final fix is settled in oss.sgi.com, we will revert to that.
Index: fast-sysmips.S
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/fast-sysmips.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fast-sysmips.S 2001/07/30 17:33:32 1.1
--- fast-sysmips.S 2001/08/23 19:07:28 1.2
***************
*** 25,31 ****
--- 25,33 ----
.set noreorder
+ #if defined(CONFIG_CPU_HAS_LLSC)
li t0, MIPS_ATOMIC_SET
beq a0, t0, 1f
nop
+ #endif
j sys_sysmips
nop
|