diff options
author | Michal Simek <monstr@monstr.eu> | 2012-03-27 10:10:15 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-09-10 01:57:39 +0100 |
commit | 02050b2f11db937d5a0ef42297a9a1fadcba829a (patch) | |
tree | 63989c1c46d6c53728afcab53148f8a2e4b76c26 | |
parent | c9b5d71cd772004cf95683e7169e67ad5f1d5806 (diff) | |
download | linux-rt-02050b2f11db937d5a0ef42297a9a1fadcba829a.tar.gz |
microblaze: Fix __futex_atomic_op macro register usage
commit 8cf662ed3ef190fddc186bb5b1cd75eb3880d5a9 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: Michal Simek <monstr@monstr.eu>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | arch/microblaze/include/asm/futex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/futex.h b/arch/microblaze/include/asm/futex.h index b0526d2716fa..ff8cde159d9a 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) \ ); \ }) |