]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
Hexagon: remove SP macro
authorRichard Kuo <rkuo@codeaurora.org>
Mon, 30 Dec 2013 20:21:12 +0000 (14:21 -0600)
committerRichard Kuo <rkuo@codeaurora.org>
Fri, 4 Apr 2014 23:20:02 +0000 (18:20 -0500)
The SP/r29 macro wasn't used anywhere else and was causing conflicts
with another module, so just remove it.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/uapi/asm/registers.h

index 487d6ceca5e7d407a69bd5c126c1f340bed10fb5..e7be31840a90330d2abc472eceece6e3d15926df 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef _ASM_REGISTERS_H
 #define _ASM_REGISTERS_H
 
-#define SP r29
-
 #ifndef __ASSEMBLY__
 
 /*  See kernel/entry.S for further documentation.  */
@@ -215,7 +213,7 @@ struct pt_regs {
 #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT))
 
 #define pt_set_rte_sp(regs, sp) do {\
-       pt_psp(regs) = (regs)->SP = (sp);\
+       pt_psp(regs) = (regs)->r29 = (sp);\
        } while (0)
 
 #define pt_set_kmode(regs) \