Skip to content

Commit

Permalink
ftrace: fix build failure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Oct 23, 2008
1 parent 15adc04 commit 66b0de3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ void ftrace_release(void *start, unsigned long size)
}
}
spin_unlock(&ftrace_lock);

ftrace_release_hash(s, e);
}

static struct dyn_ftrace *ftrace_alloc_dyn_node(unsigned long ip)
Expand Down

0 comments on commit 66b0de3

Please sign in to comment.