[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c3a9a55855ce1a3cdea68896e30d7e141f86e776.1436387183.git.tom.zanussi@linux.intel.com>
Date: Wed, 8 Jul 2015 17:35:10 -0500
From: Tom Zanussi <tom.zanussi@...ux.intel.com>
To: linux-kernel@...r.kernel.org
Cc: rostedt@...dmis.org, pebolle@...cali.nl, rientjes@...gle.com,
Tom Zanussi <tom.zanussi@...ux.intel.com>
Subject: [PATCH v3 2/7] 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