diff options
author | John David Anglin <dave.anglin@bell.net> | 2014-12-14 10:49:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-27 08:18:55 -0800 |
commit | 96afc728b68221243d0c91062e16908640e21354 (patch) | |
tree | 6cbd74e5075107f224c53a40cbe78afe1736af7d /Documentation/DocBook | |
parent | d3bc0f5b485af25d9d314ec072ca0297cf58f6c0 (diff) |
parisc: fix out-of-register compiler error in ldcw inline assembler function
commit 45db07382a5c78b0c43b3b0002b63757fb60e873 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>
Diffstat (limited to 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions