aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/tracepoint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c
index 070a42bb8920..35dd27adb82c 100644
--- a/kernel/tracepoint.c
+++ b/kernel/tracepoint.c
@@ -579,6 +579,8 @@ __initcall(init_tracepoints);
579 579
580#endif /* CONFIG_MODULES */ 580#endif /* CONFIG_MODULES */
581 581
582#ifdef CONFIG_FTRACE_SYSCALLS
583
582static DEFINE_MUTEX(regfunc_mutex); 584static DEFINE_MUTEX(regfunc_mutex);
583static int sys_tracepoint_refcount; 585static int sys_tracepoint_refcount;
584 586
@@ -615,3 +617,4 @@ void syscall_unregfunc(void)
615 } 617 }
616 mutex_unlock(&regfunc_mutex); 618 mutex_unlock(&regfunc_mutex);
617} 619}
620#endif