提交 93f9d110 编写于 作者: R Richard Kuo

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: NRichard Kuo <rkuo@codeaurora.org>
上级 efaa5cbd
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#ifndef _ASM_REGISTERS_H #ifndef _ASM_REGISTERS_H
#define _ASM_REGISTERS_H #define _ASM_REGISTERS_H
#define SP r29
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* See kernel/entry.S for further documentation. */ /* See kernel/entry.S for further documentation. */
...@@ -215,7 +213,7 @@ struct pt_regs { ...@@ -215,7 +213,7 @@ struct pt_regs {
#define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT)) #define pt_clr_singlestep(regs) ((regs)->hvmer.vmest &= ~(1<<HVM_VMEST_SS_SFT))
#define pt_set_rte_sp(regs, sp) do {\ #define pt_set_rte_sp(regs, sp) do {\
pt_psp(regs) = (regs)->SP = (sp);\ pt_psp(regs) = (regs)->r29 = (sp);\
} while (0) } while (0)
#define pt_set_kmode(regs) \ #define pt_set_kmode(regs) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册