diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-12-30 15:21:12 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2014-04-04 19:20:02 -0400 |
commit | 93f9d110b2edf0cb48b8be9c5d9bde7719667a58 (patch) | |
tree | f6752ae390aa046f6b6b3e21f89101984271d775 /arch/hexagon | |
parent | efaa5cbdca8bdba0dadde8b36cf027bd19f52cc4 (diff) |
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/hexagon')
-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 @@ | |||
6 | #ifndef _ASM_REGISTERS_H | 6 | #ifndef _ASM_REGISTERS_H |
7 | #define _ASM_REGISTERS_H | 7 | #define _ASM_REGISTERS_H |
8 | 8 | ||
9 | #define SP r29 | ||
10 | |||
11 | #ifndef __ASSEMBLY__ | 9 | #ifndef __ASSEMBLY__ |
12 | 10 | ||
13 | /* See kernel/entry.S for further documentation. */ | 11 | /* See kernel/entry.S for further documentation. */ |
@@ -215,7 +213,7 @@ struct pt_regs { | |||
215 | #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT)) | 213 | #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT)) |
216 | 214 | ||
217 | #define pt_set_rte_sp(regs, sp) do {\ | 215 | #define pt_set_rte_sp(regs, sp) do {\ |
218 | pt_psp(regs) = (regs)->SP = (sp);\ | 216 | pt_psp(regs) = (regs)->r29 = (sp);\ |
219 | } while (0) | 217 | } while (0) |
220 | 218 | ||
221 | #define pt_set_kmode(regs) \ | 219 | #define pt_set_kmode(regs) \ |