diff options
| -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) \ |
