From: John David Anglin Date: Sun, 14 Dec 2014 15:49:11 +0000 (-0500) Subject: parisc: fix out-of-register compiler error in ldcw inline assembler function X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~355^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45db07382a5c78b0c43b3b0002b63757fb60e873;p=pandora-kernel.git 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 Cc: [3.13+] Signed-off-by: Helge Deller --- Reading git-diff-tree failed