From: Michal Simek Date: Tue, 27 Mar 2012 08:10:15 +0000 (+0200) Subject: microblaze: Fix __futex_atomic_op macro register usage X-Git-Tag: MMI-PSA29.97-13-9~17072^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cf662ed3ef190fddc186bb5b1cd75eb3880d5a9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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) \ ); \ })