From: Richard Kuo Date: Mon, 30 Dec 2013 20:21:12 +0000 (-0600) Subject: Hexagon: remove SP macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93f9d110b2edf0cb48b8be9c5d9bde7719667a58;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 487d6ceca5e7..e7be31840a90 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) \