diff options
| author | 2014-12-14 10:49:11 -0500 | |
|---|---|---|
| committer | 2014-12-26 17:47:01 +0100 | |
| commit | 45db07382a5c78b0c43b3b0002b63757fb60e873 (patch) | |
| tree | 63d86170ec09f9d9181f40dd6caa091271b5116d /include/linux/platform_data | |
| parent | Linux 3.18 (diff) | |
| download | linux-dev-45db07382a5c78b0c43b3b0002b63757fb60e873.tar.xz linux-dev-45db07382a5c78b0c43b3b0002b63757fb60e873.zip | |
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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
