From: Richard Kuo Date: Mon, 30 Dec 2013 20:21:12 +0000 (-0600) Subject: Hexagon: remove SP macro X-Git-Tag: v5.15~18141^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93f9d110b2edf0cb48b8be9c5d9bde7719667a58;p=platform%2Fkernel%2Flinux-starfive.git Hexagon: remove SP macro 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 --- diff --git a/arch/hexagon/include/uapi/asm/registers.h b/arch/hexagon/include/uapi/asm/registers.h index 487d6ce..e7be318 100644 --- a/arch/hexagon/include/uapi/asm/registers.h +++ b/arch/hexagon/include/uapi/asm/registers.h @@ -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<SP = (sp);\ + pt_psp(regs) = (regs)->r29 = (sp);\ } while (0) #define pt_set_kmode(regs) \