projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6888e32
)
ARM: 8072/1: time: Make use of arm_get_current_stackframe
author
Nikolay Borisov
<
[email protected]
>
Tue, 3 Jun 2014 18:48:58 +0000
(19:48 +0100)
committer
Russell King
<
[email protected]
>
Fri, 18 Jul 2014 11:29:14 +0000
(12:29 +0100)
Make use of the arm_get_current_stackframe api so that
the frame pointer is correctly referenced in THUMB2 mode
Signed-off-by: Nikolay Borisov <
[email protected]
>
Acked-by: Will Deacon <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/time.c
b/arch/arm/kernel/time.c
index 829a96d4a179337019f1790ab2e50577f8cc3524..0cc7e58c47cc79fd53ab4feac1b9440300e7a562 100644
(file)
--- a/
arch/arm/kernel/time.c
+++ b/
arch/arm/kernel/time.c
@@
-50,10
+50,7
@@
unsigned long profile_pc(struct pt_regs *regs)
if (!in_lock_functions(regs->ARM_pc))
return regs->ARM_pc;
- frame.fp = regs->ARM_fp;
- frame.sp = regs->ARM_sp;
- frame.lr = regs->ARM_lr;
- frame.pc = regs->ARM_pc;
+ arm_get_current_stackframe(regs, &frame);
do {
int ret = unwind_frame(&frame);
if (ret < 0)