]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: x86 mcount stub
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Aug 2008 19:45:12 +0000 (15:45 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:34:58 +0000 (10:34 +0200)
commit0a37605c2261a06d8cafc62dee11374ad676c8c4
tree0867723688dbdb824a5a15f91551f88bd47c6936
parente4b2b8866121bd06d5f3d9de0f79a04339ffa252
ftrace: x86 mcount stub

x86 now sets up the mcount locations through the build and no longer
needs to record the ip when the function is executed. This patch changes
the initial mcount to simply return. There's no need to do any other work.
If the ftrace start up test fails, the original mcount will be what everything
will use, so having this as fast as possible is a good thing.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/ftrace.c