linux/arch/parisc/include
John David Anglin 96afc728b6 parisc: fix out-of-register compiler error in ldcw inline assembler function
commit 45db07382a upstream.

The __ldcw macro has a problem when its argument needs to be reloaded from
memory. The output memory operand and the input register operand both need to
be reloaded using a register in class R1_REGS when generating 64-bit code.
This fails because there's only a single register in the class. Instead, use a
memory clobber. This also makes the __ldcw macro a compiler memory barrier.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-27 08:18:55 -08:00
..
asm parisc: fix out-of-register compiler error in ldcw inline assembler function 2015-01-27 08:18:55 -08:00
uapi/asm parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls 2014-11-21 09:23:03 -08:00