summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/mcount.S
diff options
context:
space:
mode:
authorMarkos Chandras2013-06-11 10:02:55 +0200
committerRalf Baechle2013-06-11 15:19:51 +0200
commit5a5f1efc8f5bce01773c6b769d7912a15e8eee07 (patch)
tree6b735cb6dea0ebed14985d7712c0930bb9ba5701 /arch/mips/kernel/mcount.S
parentMIPS: Implement HAVE_CONTEXT_TRACKING. (diff)
downloadkernel-qcow2-linux-5a5f1efc8f5bce01773c6b769d7912a15e8eee07.tar.gz
kernel-qcow2-linux-5a5f1efc8f5bce01773c6b769d7912a15e8eee07.tar.xz
kernel-qcow2-linux-5a5f1efc8f5bce01773c6b769d7912a15e8eee07.zip
MIPS: kernel: mcount.S: Drop FRAME_POINTER codepath
CONFIG_FRAME_POINTER is not selectable for MIPS so this codepath was never executed. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Acked-by: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5440/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/mcount.S')
-rw-r--r--arch/mips/kernel/mcount.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/kernel/mcount.S b/arch/mips/kernel/mcount.S
index 33d067148e61..a03e93c4a946 100644
--- 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 */
-#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
-#endif
jal prepare_ftrace_return
nop