Skip to content

Commit

Permalink
markers: remove exported symbol marker_probe_cb_noarg()
Browse files Browse the repository at this point in the history
marker_probe_cb_noarg() should not be seen by outer code.
this patch remove it.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Oct 27, 2008
1 parent 0eec481 commit 505e371
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions include/linux/marker.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ extern marker_probe_func __mark_empty_function;

extern void marker_probe_cb(const struct marker *mdata,
void *call_private, ...);
extern void marker_probe_cb_noarg(const struct marker *mdata,
void *call_private, ...);

/*
* Connect a probe to a marker.
Expand Down
3 changes: 1 addition & 2 deletions kernel/marker.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ EXPORT_SYMBOL_GPL(marker_probe_cb);
*
* Should be connected to markers "MARK_NOARGS".
*/
void marker_probe_cb_noarg(const struct marker *mdata, void *call_private, ...)
static void marker_probe_cb_noarg(const struct marker *mdata, void *call_private, ...)
{
va_list args; /* not initialized */
char ptype;
Expand Down Expand Up @@ -198,7 +198,6 @@ void marker_probe_cb_noarg(const struct marker *mdata, void *call_private, ...)
}
rcu_read_unlock_sched();
}
EXPORT_SYMBOL_GPL(marker_probe_cb_noarg);

static void free_old_closure(struct rcu_head *head)
{
Expand Down

0 comments on commit 505e371

Please sign in to comment.