Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: kernel: mcount.S: Drop FRAME_POINTER codepath
@ 2013-06-11  9:02 Markos Chandras
  2013-06-11  9:02 ` Markos Chandras
  2013-06-11 14:55 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Markos Chandras @ 2013-06-11  9:02 UTC (permalink / raw)
  To: linux-mips; +Cc: Markos Chandras

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>
---
This patch is for the upstream-sfr/mips-for-linux-next tree
---
 arch/mips/kernel/mcount.S | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/mips/kernel/mcount.S b/arch/mips/kernel/mcount.S
index 33d0671..a03e93c 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
-- 
1.8.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-11 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11  9:02 [PATCH] MIPS: kernel: mcount.S: Drop FRAME_POINTER codepath Markos Chandras
2013-06-11  9:02 ` Markos Chandras
2013-06-11 14:55 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox