aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/hpux/fs.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2014-12-14 10:49:11 -0500
committerHelge Deller <deller@gmx.de>2014-12-26 17:47:01 +0100
commit45db07382a5c78b0c43b3b0002b63757fb60e873 (patch)
tree63d86170ec09f9d9181f40dd6caa091271b5116d /arch/parisc/hpux/fs.c
parentLinux 3.18 (diff)
downloadlinux-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 'arch/parisc/hpux/fs.c')
0 files changed, 0 insertions, 0 deletions