diff options
author | John David Anglin <dave.anglin@bell.net> | 2014-12-14 10:49:11 -0500 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2014-12-26 17:47:01 +0100 |
commit | 45db07382a5c78b0c43b3b0002b63757fb60e873 (patch) | |
tree | 63d86170ec09f9d9181f40dd6caa091271b5116d /arch/parisc/lib | |
parent | b2776bf7149bddd1f4161f14f79520f17fc1d71d (diff) |
parisc: fix out-of-register compiler error in ldcw inline assembler function
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>
Diffstat (limited to 'arch/parisc/lib')
0 files changed, 0 insertions, 0 deletions