Commit 66b0de35 authored by Ingo Molnar's avatar Ingo Molnar

ftrace: fix build failure

fix:

 kernel/trace/ftrace.c: In function 'ftrace_release':
 kernel/trace/ftrace.c:271: error: implicit declaration of function 'ftrace_release_hash'

release_hash is not needed without dftraced.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 15adc048
...@@ -267,8 +267,6 @@ void ftrace_release(void *start, unsigned long size) ...@@ -267,8 +267,6 @@ void ftrace_release(void *start, unsigned long size)
} }
} }
spin_unlock(&ftrace_lock); spin_unlock(&ftrace_lock);
ftrace_release_hash(s, e);
} }
static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip) static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment