|
@@ -579,6 +579,8 @@ __initcall(init_tracepoints);
|
|
|
|
|
|
#endif /* CONFIG_MODULES */
|
|
#endif /* CONFIG_MODULES */
|
|
|
|
|
|
|
|
+#ifdef CONFIG_FTRACE_SYSCALLS
|
|
|
|
+
|
|
static DEFINE_MUTEX(regfunc_mutex);
|
|
static DEFINE_MUTEX(regfunc_mutex);
|
|
static int sys_tracepoint_refcount;
|
|
static int sys_tracepoint_refcount;
|
|
|
|
|
|
@@ -615,3 +617,4 @@ void syscall_unregfunc(void)
|
|
}
|
|
}
|
|
mutex_unlock(®func_mutex);
|
|
mutex_unlock(®func_mutex);
|
|
}
|
|
}
|
|
|
|
+#endif
|