From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman From: Michael Neuling Date: Fri, 08 Jun 2012 21:36:05 +1000 Subject: [PATCH 11/15] powerpc: fix VSX macros so register names aren't wrapped In-Reply-To: <1339155365.316308.981577666228.qpush@ale> Message-Id: <20120608113605.97E60D43B30@localhost.localdomain> Cc: mikey@neuling.org, linuxppc-dev@ozlabs.org, Anton Blanchard , Olof Johannsson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , We need to do this so we can enforce the name of a and b in called macros PPC_RA/B later. Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/ppc-opcode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: clone3/arch/powerpc/include/asm/ppc-opcode.h =================================================================== --- clone3.orig/arch/powerpc/include/asm/ppc-opcode.h +++ clone3/arch/powerpc/include/asm/ppc-opcode.h @@ -201,11 +201,11 @@ #define VSX_XX1(s, a, b) (__PPC_XS(s) | __PPC_RA(a) | __PPC_RB(b)) #define VSX_XX3(t, a, b) (__PPC_XT(t) | __PPC_XA(a) | __PPC_XB(b)) #define STXVD2X(s, a, b) stringify_in_c(.long PPC_INST_STXVD2X | \ - VSX_XX1((s), (a), (b))) + VSX_XX1((s), a, b)) #define LXVD2X(s, a, b) stringify_in_c(.long PPC_INST_LXVD2X | \ - VSX_XX1((s), (a), (b))) + VSX_XX1((s), a, b)) #define XXLOR(t, a, b) stringify_in_c(.long PPC_INST_XXLOR | \ - VSX_XX3((t), (a), (b))) + VSX_XX3((t), a, b)) #define PPC_NAP stringify_in_c(.long PPC_INST_NAP) #define PPC_SLEEP stringify_in_c(.long PPC_INST_SLEEP)