summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-03-27 14:22:10 +0100
committerIngo Molnar <mingo@elte.hu>2009-04-07 14:00:18 +0200
commit5f0c6c03c5fee91c02c696bc9bf4c0d41392abe7 (patch)
tree54d45e35314d28d835b85ed623a79c3b5501affa /kernel/trace
parentcf8e3474654f20433aab9aa35826d43b5f245008 (diff)
downloadblackbird-op-linux-5f0c6c03c5fee91c02c696bc9bf4c0d41392abe7.tar.gz
blackbird-op-linux-5f0c6c03c5fee91c02c696bc9bf4c0d41392abe7.zip
tracing/ftrace: fix missing include string.h
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 457dd8c97e0d..2230b46f9e1c 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -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>
OpenPOWER on IntegriCloud