Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cf662ed authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <monstr@monstr.eu>
parent e02db0aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@
			.word	1b,4b,2b,4b;				\
			.word	1b,4b,2b,4b;				\
			.previous;"					\
			.previous;"					\
	: "=&r" (oldval), "=&r" (ret)					\
	: "=&r" (oldval), "=&r" (ret)					\
	: "b" (uaddr), "i" (-EFAULT), "r" (oparg)			\
	: "r" (uaddr), "i" (-EFAULT), "r" (oparg)			\
	);								\
	);								\
})
})