From 93f9d110b2edf0cb48b8be9c5d9bde7719667a58 Mon Sep 17 00:00:00 2001 From: Richard Kuo Date: Mon, 30 Dec 2013 14:21:12 -0600 Subject: 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 --- arch/hexagon/include/uapi/asm/registers.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/hexagon/include') 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) \ -- cgit