Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -3
+1 -3
arch/hexagon/include/uapi/asm/registers.h
··· 6 6 #ifndef _ASM_REGISTERS_H 7 7 #define _ASM_REGISTERS_H 8 8 9 - #define SP r29 10 - 11 9 #ifndef __ASSEMBLY__ 12 10 13 11 /* See kernel/entry.S for further documentation. */ ··· 213 215 #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT)) 214 216 215 217 #define pt_set_rte_sp(regs, sp) do {\ 216 - pt_psp(regs) = (regs)->SP = (sp);\ 218 + pt_psp(regs) = (regs)->r29 = (sp);\ 217 219 } while (0) 218 220 219 221 #define pt_set_kmode(regs) \