remarkable-linux/arch/metag
James Hogan 096a8b6d5e metag: Fix atomic_*_return inline asm constraints
The argument i of atomic_*_return() operations is given to inline asm
with the "bd" constraint, which means "An Op2 register where Op1 is a
data unit register and the instruction supports O2R", however Op1 is
constrained by "da" which allows an address unit register to be used.

Fix the constraint to use "br", meaning "An Op2 register and the
instruction supports O2R", i.e. not requiring Op1 to be a data unit
register.

Fixes: d6dfe2509d ("locking,arch,metag: Fold atomic_ops")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-metag@vger.kernel.org
2016-05-03 09:25:46 +01:00
..
boot metag: enable building of all dtbs 2015-10-27 16:12:16 -05:00
configs
include metag: Fix atomic_*_return inline asm constraints 2016-05-03 09:25:46 +01:00
kernel metag: perf: fix build on Meta1 2016-05-03 09:25:30 +01:00
lib
mm kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
oprofile
tbx metag: handle low level kicks directly 2013-11-06 10:40:02 +00:00
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Kconfig.soc metag: tz1090: select and instantiate gpio-tz1090 2013-07-22 10:55:31 +01:00
Makefile metag: use common make variables for dtb builds 2015-10-27 16:12:15 -05:00