summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2003-04-27 18:41:57 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2003-04-27 18:41:57 +0100
commit8b0147ab5e7fda2fc2d35f98c1bbcaa0572e4ff1 (patch)
tree768d932ed105f5c2b06a2bfc30d9897c876ecd49 /include/asm-arm
parentf657af0f9fce26e6c66d6a1239de7f3a0587346d (diff)
[ARM] lock up() functions should be memory barriers.
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/proc-armv/locks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/proc-armv/locks.h b/include/asm-arm/proc-armv/locks.h
index d96dede22cc2..13248f903677 100644
--- a/include/asm-arm/proc-armv/locks.h
+++ b/include/asm-arm/proc-armv/locks.h
@@ -67,7 +67,7 @@
" blle " #wake \
: \
: "r" (ptr), "I" (1) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
/*
@@ -133,7 +133,7 @@
" bleq " #wake \
: \
: "r" (ptr), "I" (1) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
#endif