diff options
| author | Arnd Bergmann <[email protected]> | 2017-07-10 08:44:03 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2017-07-11 23:29:04 +0000 |
| commit | 69449bbd65687e8e5fb968a5a0c46089f6af6001 (patch) | |
| tree | 6ea92add031fd9d72e7b13bb5cfcc03a0ecdd716 /lib/fault-inject.c | |
| parent | tracing: Do note expose stack_trace_filter without DYNAMIC_FTRACE (diff) | |
| download | kernel-69449bbd65687e8e5fb968a5a0c46089f6af6001.tar.gz kernel-69449bbd65687e8e5fb968a5a0c46089f6af6001.zip | |
ftrace: Hide cached module code for !CONFIG_MODULES
When modules are disabled, we get a harmless build warning:
kernel/trace/ftrace.c:4051:13: error: 'process_cached_mods' defined but not used [-Werror=unused-function]
This adds the same #ifdef around the new code that exists around
its caller.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: d7fbf8df7ca0 ("ftrace: Implement cached modules tracing on module load")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
