summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-12-30 21:21:12 +0100
committerRichard Kuo <rkuo@codeaurora.org>2014-04-05 01:20:02 +0200
commit93f9d110b2edf0cb48b8be9c5d9bde7719667a58 (patch)
treef6752ae390aa046f6b6b3e21f89101984271d775
parentHexagon: set ELF_EXEC_PAGESIZE to PAGE_SIZE (diff)
downloadlinux-93f9d110b2edf0cb48b8be9c5d9bde7719667a58.tar.xz
linux-93f9d110b2edf0cb48b8be9c5d9bde7719667a58.zip
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>
-rw-r--r--arch/hexagon/include/uapi/asm/registers.h4
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) \