projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02db0a
)
microblaze: Fix __futex_atomic_op macro register usage
author
Michal Simek
<monstr@monstr.eu>
Tue, 27 Mar 2012 08:10:15 +0000
(10:10 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Wed, 28 Mar 2012 06:28:24 +0000
(08:28 +0200)
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>
arch/microblaze/include/asm/futex.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/include/asm/futex.h
b/arch/microblaze/include/asm/futex.h
index b0526d2716fa7defea7c036c750284f5a7496443..ff8cde159d9a4809abac1994537b5425c71c9cb4 100644
(file)
--- 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) \
); \
})