tracing: Call arch_init_ftrace_syscalls at boot
[safe/jmp/linux-2.6] / kernel / trace / trace_syscalls.c
index a2a3af2..08aed43 100644 (file)
@@ -1,5 +1,5 @@
+#include <trace/syscall.h>
 #include <linux/kernel.h>
-#include <linux/ftrace.h>
 #include <asm/syscall.h>
 
 #include "trace_output.h"
@@ -106,7 +106,6 @@ void start_ftrace_syscalls(void)
        if (++refcount != 1)
                goto unlock;
 
-       arch_init_ftrace_syscalls();
        read_lock_irqsave(&tasklist_lock, flags);
 
        do_each_thread(g, t) {