git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-mips
/
war.h
diff --git
a/include/asm-mips/war.h
b/include/asm-mips/war.h
index
a6f5c06
..
c4a7041
100644
(file)
--- a/
include/asm-mips/war.h
+++ b/
include/asm-mips/war.h
@@
-176,6
+176,14
@@
#define RM9000_CDEX_SMP_WAR 1
#endif
#define RM9000_CDEX_SMP_WAR 1
#endif
+/*
+ * ON the R10000 upto version 2.6 (not sure about 2.7) there is a bug that
+ * may cause ll / sc and lld / scd sequences to execute non-atomically.
+ */
+#ifdef CONFIG_SGI_IP27
+#define R10000_LLSC_WAR 1
+#endif
+
/*
* Workarounds default to off
*/
/*
* Workarounds default to off
*/
@@
-209,5
+217,8
@@
#ifndef RM9000_CDEX_SMP_WAR
#define RM9000_CDEX_SMP_WAR 0
#endif
#ifndef RM9000_CDEX_SMP_WAR
#define RM9000_CDEX_SMP_WAR 0
#endif
+#ifndef R10000_LLSC_WAR
+#define R10000_LLSC_WAR 0
+#endif
#endif /* _ASM_WAR_H */
#endif /* _ASM_WAR_H */