parisc: fix out-of-register compiler error in ldcw inline assembler function
authorJohn David Anglin <dave.anglin@bell.net>
Sun, 14 Dec 2014 15:49:11 +0000 (10:49 -0500)
committerHelge Deller <deller@gmx.de>
Fri, 26 Dec 2014 16:47:01 +0000 (17:47 +0100)
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>
Cc: <stable@vger.kernel.org> [3.13+]
Signed-off-by: Helge Deller <deller@gmx.de>

No differences found