Commit 02050b2f authored by Michal Simek's avatar Michal Simek Committed by Ben Hutchings

microblaze: Fix __futex_atomic_op macro register usage

commit 8cf662ed upstream.

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: default avatarMichal Simek <monstr@monstr.eu>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent c9b5d71c
......@@ -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) \
); \
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment