diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-12-30 14:21:12 -0600 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2014-04-04 18:20:02 -0500 |
commit | 93f9d110b2edf0cb48b8be9c5d9bde7719667a58 (patch) | |
tree | f6752ae390aa046f6b6b3e21f89101984271d775 /arch | |
parent | efaa5cbdca8bdba0dadde8b36cf027bd19f52cc4 (diff) | |
download | linux-93f9d110b2edf0cb48b8be9c5d9bde7719667a58.tar.bz2 |
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 <rkuo@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/hexagon/include/uapi/asm/registers.h | 4 |
1 files changed, 1 insertions, 3 deletions
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<<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) \ |