]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/trace/boot.h
x86: add specific support for Intel Atom architecture
[linux-2.6.git] / include / trace / boot.h
index 6b54537eab02d2457f96333b4c1d1a0b6d689dee..088ea089e31d38ca8f2acb5e57fed5cd77d24f6c 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _LINUX_TRACE_BOOT_H
 #define _LINUX_TRACE_BOOT_H
 
+#include <linux/module.h>
+#include <linux/kallsyms.h>
+#include <linux/init.h>
+
 /*
  * Structure which defines the trace of an initcall
  * while it is called.
@@ -9,7 +13,7 @@
  */
 struct boot_trace_call {
        pid_t                   caller;
-       char                    func[KSYM_NAME_LEN];
+       char                    func[KSYM_SYMBOL_LEN];
 };
 
 /*
@@ -17,7 +21,7 @@ struct boot_trace_call {
  * while it returns.
  */
 struct boot_trace_ret {
-       char                    func[KSYM_NAME_LEN];
+       char                    func[KSYM_SYMBOL_LEN];
        int                             result;
        unsigned long long      duration;               /* nsecs */
 };