diff options
-rw-r--r-- | kernel/tracepoint.c | 3 |
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 | |||
582 | static DEFINE_MUTEX(regfunc_mutex); | 584 | static DEFINE_MUTEX(regfunc_mutex); |
583 | static int sys_tracepoint_refcount; | 585 | static int sys_tracepoint_refcount; |
584 | 586 | ||
@@ -615,3 +617,4 @@ void syscall_unregfunc(void) | |||
615 | } | 617 | } |
616 | mutex_unlock(®func_mutex); | 618 | mutex_unlock(®func_mutex); |
617 | } | 619 | } |
620 | #endif | ||