]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
tracing/fastboot: build fix
authorIngo Molnar <mingo@elte.hu>
Thu, 2 Oct 2008 15:45:47 +0000 (17:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:13 +0000 (10:39 +0200)
fix:

 In file included from kernel/sysctl.c:52:
 include/linux/ftrace.h:217: error: 'KSYM_NAME_LEN' undeclared here (not in a function)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h

index e672e51c40a9c7b20ec717165b6970f3f0b11eda..deded114dffdeb2b7d1545d133f2b1eda9a3052a 100644 (file)
@@ -1,14 +1,14 @@
 #ifndef _LINUX_FTRACE_H
 #define _LINUX_FTRACE_H
 
-#ifdef CONFIG_FTRACE
-
 #include <linux/linkage.h>
 #include <linux/fs.h>
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/kallsyms.h>
 
+#ifdef CONFIG_FTRACE
+
 extern int ftrace_enabled;
 extern int
 ftrace_enable_sysctl(struct ctl_table *table, int write,