git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' into for-linus
[pandora-kernel.git]
/
arch
/
mips
/
include
/
asm
/
system.h
diff --git
a/arch/mips/include/asm/system.h
b/arch/mips/include/asm/system.h
index
83b5509
..
bb937cc
100644
(file)
--- a/
arch/mips/include/asm/system.h
+++ b/
arch/mips/include/asm/system.h
@@
-95,6
+95,8
@@
static inline unsigned long __xchg_u32(volatile int * m, unsigned int val)
{
__u32 retval;
+ smp_mb__before_llsc();
+
if (kernel_uses_llsc && R10000_LLSC_WAR) {
unsigned long dummy;
@@
-147,6
+149,8
@@
static inline __u64 __xchg_u64(volatile __u64 * m, __u64 val)
{
__u64 retval;
+ smp_mb__before_llsc();
+
if (kernel_uses_llsc && R10000_LLSC_WAR) {
unsigned long dummy;