tracing/ftrace: fix missing include string.h
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 27 Mar 2009 13:22:10 +0000 (14:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 12:00:18 +0000 (14:00 +0200)
Building a kernel with tracing can raise the following warning on
tip/master:

kernel/trace/trace.c:1249: error: implicit declaration of function 'vbin_printf'

We are missing an include to string.h

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1238160130-7437-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c

index 457dd8c97e0d1838d896934020270a9bfd60fadb..2230b46f9e1c0d659e29fe3369c65f79d9dc975c 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/percpu.h>
 #include <linux/splice.h>
 #include <linux/kdebug.h>
+#include <linux/string.h>
 #include <linux/ctype.h>
 #include <linux/init.h>
 #include <linux/poll.h>