summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt2014-05-08 21:21:52 +0200
committerSteven Rostedt2014-05-14 17:37:31 +0200
commite18eead3c3e0087b38b3ccec684808b6ee9ba7c3 (patch)
treee08cd7e2beeb6a28dd0341435c9199315c2f3be3 /arch/x86/kernel/Makefile
parentftrace: Remove FTRACE_UPDATE_MODIFY_CALL_REGS flag (diff)
downloadkernel-qcow2-linux-e18eead3c3e0087b38b3ccec684808b6ee9ba7c3.tar.gz
kernel-qcow2-linux-e18eead3c3e0087b38b3ccec684808b6ee9ba7c3.tar.xz
kernel-qcow2-linux-e18eead3c3e0087b38b3ccec684808b6ee9ba7c3.zip
ftrace/x86: Move the mcount/fentry code out of entry_64.S
As the mcount code gets more complex, it really does not belong in the entry.S file. By moving it into its own file "mcount.S" keeps things a bit cleaner. Link: http://lkml.kernel.org/p/20140508152152.2130e8cf@gandalf.local.home Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/kernel/Makefile')
-rw-r--r--arch/x86/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index f4d96000d33a..db7f41d74842 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -26,6 +26,7 @@ obj-$(CONFIG_IRQ_WORK) += irq_work.o
obj-y += probe_roms.o
obj-$(CONFIG_X86_32) += i386_ksyms_32.o
obj-$(CONFIG_X86_64) += sys_x86_64.o x8664_ksyms_64.o
+obj-$(CONFIG_X86_64) += mcount_64.o
obj-y += syscall_$(BITS).o vsyscall_gtod.o
obj-$(CONFIG_X86_64) += vsyscall_64.o
obj-$(CONFIG_X86_64) += vsyscall_emu_64.o