summaryrefslogtreecommitdiff
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-03-27 08:10:15 (GMT)
committerMichal Simek <monstr@monstr.eu>2012-03-28 06:28:24 (GMT)
commit8cf662ed3ef190fddc186bb5b1cd75eb3880d5a9 (patch)
tree996327968b2a0f66b2a695ede2cc4e372133e60f /arch/microblaze/include
parente02db0aa3e1976ae4e23a66077d252a2f3ba74c7 (diff)
downloadlinux-8cf662ed3ef190fddc186bb5b1cd75eb3880d5a9.tar.xz
microblaze: Fix __futex_atomic_op macro register usage
Old Microblaze toolchain supported "b" contstrains for all register but it always points to general purpose reg. New Microblaze toolchain is more strict in this and general purpose register should be used there "r". Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/futex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/futex.h b/arch/microblaze/include/asm/futex.h
index b0526d2..ff8cde1 100644
--- a/arch/microblaze/include/asm/futex.h
+++ b/arch/microblaze/include/asm/futex.h
@@ -24,7 +24,7 @@
.word 1b,4b,2b,4b; \
.previous;" \
: "=&r" (oldval), "=&r" (ret) \
- : "b" (uaddr), "i" (-EFAULT), "r" (oparg) \
+ : "r" (uaddr), "i" (-EFAULT), "r" (oparg) \
); \
})