diff options
Diffstat (limited to 'arch/s390/kernel/ftrace.c')
-rw-r--r-- | arch/s390/kernel/ftrace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/ftrace.c b/arch/s390/kernel/ftrace.c index 27477f34cc0a..d03a6d12c4bd 100644 --- a/arch/s390/kernel/ftrace.c +++ b/arch/s390/kernel/ftrace.c | |||
@@ -173,6 +173,8 @@ int __init ftrace_dyn_arch_init(void) | |||
173 | return 0; | 173 | return 0; |
174 | } | 174 | } |
175 | 175 | ||
176 | #ifdef CONFIG_MODULES | ||
177 | |||
176 | static int __init ftrace_plt_init(void) | 178 | static int __init ftrace_plt_init(void) |
177 | { | 179 | { |
178 | unsigned int *ip; | 180 | unsigned int *ip; |
@@ -191,6 +193,8 @@ static int __init ftrace_plt_init(void) | |||
191 | } | 193 | } |
192 | device_initcall(ftrace_plt_init); | 194 | device_initcall(ftrace_plt_init); |
193 | 195 | ||
196 | #endif /* CONFIG_MODULES */ | ||
197 | |||
194 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 198 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
195 | /* | 199 | /* |
196 | * Hook the return address and push it in the stack of return addresses | 200 | * Hook the return address and push it in the stack of return addresses |