aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/trace/ftrace.c2
-rw-r--r--kernel/trace/trace_sched_switch.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index b532e4a68c74..0d5bcf69952d 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -50,7 +50,7 @@ static struct ftrace_ops ftrace_list_end __read_mostly =
50static struct ftrace_ops *ftrace_list __read_mostly = &ftrace_list_end; 50static struct ftrace_ops *ftrace_list __read_mostly = &ftrace_list_end;
51ftrace_func_t ftrace_trace_function __read_mostly = ftrace_stub; 51ftrace_func_t ftrace_trace_function __read_mostly = ftrace_stub;
52 52
53void ftrace_list_func(unsigned long ip, unsigned long parent_ip) 53static void ftrace_list_func(unsigned long ip, unsigned long parent_ip)
54{ 54{
55 struct ftrace_ops *op = ftrace_list; 55 struct ftrace_ops *op = ftrace_list;
56 56
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c
index c16935d3bc5c..93a662009151 100644
--- a/kernel/trace/trace_sched_switch.c
+++ b/kernel/trace/trace_sched_switch.c
@@ -196,7 +196,7 @@ static void tracing_sched_unregister(void)
196 &ctx_trace); 196 &ctx_trace);
197} 197}
198 198
199void tracing_start_sched_switch(void) 199static void tracing_start_sched_switch(void)
200{ 200{
201 long ref; 201 long ref;
202 202
@@ -205,7 +205,7 @@ void tracing_start_sched_switch(void)
205 tracing_sched_register(); 205 tracing_sched_register();
206} 206}
207 207
208void tracing_stop_sched_switch(void) 208static void tracing_stop_sched_switch(void)
209{ 209{
210 long ref; 210 long ref;
211 211