diff options
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index df96d5990c04..ea45bb1c0fd6 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -1541,6 +1541,11 @@ static int ftrace_convert_nops(unsigned long *start, | |||
1541 | return 0; | 1541 | return 0; |
1542 | } | 1542 | } |
1543 | 1543 | ||
1544 | void ftrace_init_module(unsigned long *start, unsigned long *end) | ||
1545 | { | ||
1546 | ftrace_convert_nops(start, end); | ||
1547 | } | ||
1548 | |||
1544 | extern unsigned long __start_mcount_loc[]; | 1549 | extern unsigned long __start_mcount_loc[]; |
1545 | extern unsigned long __stop_mcount_loc[]; | 1550 | extern unsigned long __stop_mcount_loc[]; |
1546 | 1551 | ||