linux/arch/parisc/include
John David Anglin 047a3b12ee 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: Luis Henriques <luis.henriques@canonical.com>
History 2015-01-15 10:44:47 +00:00
..
asm parisc: fix out-of-register compiler error in ldcw inline assembler function 2015-01-15 10:44:47 +00:00
uapi/asm parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls 2014-11-27 11:21:41 +00:00