projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3981c47
)
Hexagon: fix psp/sp macro
author
Richard Kuo
<rkuo@codeaurora.org>
Thu, 25 Oct 2012 18:50:27 +0000
(13:50 -0500)
committer
Richard Kuo
<rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:26 +0000
(19:40 -0500)
Based on feedback from Al Viro; previous-stack-pointer and
user reg for same should always be kept consistent.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/uapi/asm/registers.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/hexagon/include/uapi/asm/registers.h
b/arch/hexagon/include/uapi/asm/registers.h
index fcdb5f96a984edfca7c222621bc5d291e01b2338..487d6ceca5e7d407a69bd5c126c1f340bed10fb5 100644
(file)
--- a/
arch/hexagon/include/uapi/asm/registers.h
+++ b/
arch/hexagon/include/uapi/asm/registers.h
@@
-215,8
+215,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) = (sp);\
- (regs)->SP = (unsigned long) &((regs)->hvmer);\
+ pt_psp(regs) = (regs)->SP = (sp);\
} while (0)
#define pt_set_kmode(regs) \