[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <39f0b7eb7c21c9f5ea798bf912fb126032cef5e5.1428678555.git.tom.zanussi@linux.intel.com>
Date: Fri, 10 Apr 2015 11:05:01 -0500
From: Tom Zanussi <tom.zanussi@...ux.intel.com>
To: rostedt@...dmis.org, pebolle@...cali.nl
Cc: linux-kernel@...r.kernel.org,
Tom Zanussi <tom.zanussi@...ux.intel.com>
Subject: [PATCH 2/4] kallsyms: Add module.h include
KSYM_SYMBOL_LEN uses MODULE_NAME_LEN defined in module.h, so include
module.h so users don't have to.
Signed-off-by: Tom Zanussi <tom.zanussi@...ux.intel.com>
---
include/linux/kallsyms.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h
index 6883e19..e1550a4 100644
--- a/include/linux/kallsyms.h
+++ b/include/linux/kallsyms.h
@@ -8,6 +8,7 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
+#include <linux/module.h>
#define KSYM_NAME_LEN 128
#define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1) + \
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists