diff options
Diffstat (limited to 'arch/s390/kernel/Makefile')
-rw-r--r-- | arch/s390/kernel/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile index 0657de7944fe..ce172bfaab8a 100644 --- a/arch/s390/kernel/Makefile +++ b/arch/s390/kernel/Makefile | |||
@@ -7,6 +7,10 @@ ifdef CONFIG_FUNCTION_TRACER | |||
7 | CFLAGS_REMOVE_early.o = -pg | 7 | CFLAGS_REMOVE_early.o = -pg |
8 | endif | 8 | endif |
9 | 9 | ||
10 | ifdef CONFIG_DYNAMIC_FTRACE | ||
11 | CFLAGS_REMOVE_ftrace.o = -pg | ||
12 | endif | ||
13 | |||
10 | # | 14 | # |
11 | # Passing null pointers is ok for smp code, since we access the lowcore here. | 15 | # Passing null pointers is ok for smp code, since we access the lowcore here. |
12 | # | 16 | # |
@@ -41,6 +45,7 @@ obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o \ | |||
41 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 45 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
42 | obj-$(CONFIG_KPROBES) += kprobes.o | 46 | obj-$(CONFIG_KPROBES) += kprobes.o |
43 | obj-$(CONFIG_FUNCTION_TRACER) += mcount.o | 47 | obj-$(CONFIG_FUNCTION_TRACER) += mcount.o |
48 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | ||
44 | 49 | ||
45 | # Kexec part | 50 | # Kexec part |
46 | S390_KEXEC_OBJS := machine_kexec.o crash.o | 51 | S390_KEXEC_OBJS := machine_kexec.o crash.o |