projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: kernel: mcount.S: Drop FRAME_POINTER codepath
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
arch
/
mips
/
kernel
/
mcount.S
diff --git
a/arch/mips/kernel/mcount.S
b/arch/mips/kernel/mcount.S
index
33d0671
..
a03e93c
100644
(file)
--- a/
arch/mips/kernel/mcount.S
+++ b/
arch/mips/kernel/mcount.S
@@
-168,15
+168,11
@@
NESTED(ftrace_graph_caller, PT_SIZE, ra)
#endif
/* arg3: Get frame pointer of current stack */
#endif
/* arg3: Get frame pointer of current stack */
-#ifdef CONFIG_FRAME_POINTER
- move a2, fp
-#else /* ! CONFIG_FRAME_POINTER */
#ifdef CONFIG_64BIT
PTR_LA a2, PT_SIZE(sp)
#else
PTR_LA a2, (PT_SIZE+8)(sp)
#endif
#ifdef CONFIG_64BIT
PTR_LA a2, PT_SIZE(sp)
#else
PTR_LA a2, (PT_SIZE+8)(sp)
#endif
-#endif
jal prepare_ftrace_return
nop
jal prepare_ftrace_return
nop