aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-03-10 14:23:49 +0000
committerHans-Christian Egtvedt <egtvedt@samfundet.no>2016-03-14 11:08:29 +0100
commit392c5174499296bcdecbe1705d577883065fa5de (patch)
tree2d649694002b4e9ba45d3a67393954d402636682 /arch/powerpc/include/asm/kvm_host.h
parentavr32: wire up copy_file_range syscall (diff)
downloadlinux-dev-392c5174499296bcdecbe1705d577883065fa5de.tar.xz
linux-dev-392c5174499296bcdecbe1705d577883065fa5de.zip
avr32: fix asm operand constraint in cmpxchg()
If the 'old' operand to cmpxchg() is a constant wider than 21 bits, linking fails with a "relocation truncated to fit: R_AVR32_21S" error. Fix this by replacing the "i" constraint with "Ks21" which makes the compiler use a temporary register for out of range constants. Signed-off-by: Mans Rullgard <mans@mansr.com> Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions