Re: 2.2.12 Sparc SS-10 spin_lock...

David S. Miller (davem@redhat.com)
Tue, 31 Aug 1999 05:45:57 -0700


Hmmm, I'm just being paranoid but give this patch a try:

--- include/asm-sparc/system.h.~1~ Fri Aug 13 05:39:46 1999
+++ include/asm-sparc/system.h Tue Aug 31 05:45:27 1999
@@ -116,6 +116,8 @@
"rd %%wim, %%g5\n\t" \
"wr %%g4, 0x20, %%psr\n\t" \
"nop\n\t" \
+ "nop\n\t" \
+ "nop\n\t" \
"std %%g4, [%%g6 + %3]\n\t" \
"ldd [%2 + %3], %%g4\n\t" \
"mov %2, %%g6\n\t" \
@@ -125,11 +127,13 @@
"wr %%g4, 0x20, %%psr\n\t" \
"nop\n\t" \
"nop\n\t" \
+ "nop\n\t" \
"ldd [%%g6 + %4], %%sp\n\t" \
"wr %%g5, 0x0, %%wim\n\t" \
"ldd [%%sp + 0x00], %%l0\n\t" \
"ldd [%%sp + 0x38], %%i6\n\t" \
"wr %%g4, 0x0, %%psr\n\t" \
+ "nop\n\t" \
"nop\n\t" \
"nop\n\t" \
"jmpl %%o7 + 0x8, %%g0\n\t" \

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/