aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-23 10:11:03 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-23 10:11:03 -0400
commit66b0de3569b00f61978782b9f97aa4803dbec0fb (patch)
tree9ffcb1a8481e7337dbe2d2ec321a3b4a427f84d7
parent15adc048986f6b54b6044f2b6fc4b48f49413e2f (diff)
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: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/ftrace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 07762c08a944..27212321eb0d 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -267,8 +267,6 @@ void ftrace_release(void *start, unsigned long size)
267 } 267 }
268 } 268 }
269 spin_unlock(&ftrace_lock); 269 spin_unlock(&ftrace_lock);
270
271 ftrace_release_hash(s, e);
272} 270}
273 271
274static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip) 272static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip)