aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index f8f92d015efe..482efc865acf 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -15,7 +15,6 @@
15#include <linux/stringify.h> 15#include <linux/stringify.h>
16#include <linux/kobject.h> 16#include <linux/kobject.h>
17#include <linux/moduleparam.h> 17#include <linux/moduleparam.h>
18#include <linux/marker.h>
19#include <linux/tracepoint.h> 18#include <linux/tracepoint.h>
20 19
21#include <asm/local.h> 20#include <asm/local.h>
@@ -129,7 +128,10 @@ extern struct module __this_module;
129 */ 128 */
130#define MODULE_LICENSE(_license) MODULE_INFO(license, _license) 129#define MODULE_LICENSE(_license) MODULE_INFO(license, _license)
131 130
132/* Author, ideally of form NAME[, NAME]*[ and NAME] */ 131/*
132 * Author(s), use "Name <email>" or just "Name", for multiple
133 * authors use multiple MODULE_AUTHOR() statements/lines.
134 */
133#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) 135#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
134 136
135/* What your module does. */ 137/* What your module does. */
@@ -309,10 +311,14 @@ struct module
309#endif 311#endif
310 312
311#ifdef CONFIG_KALLSYMS 313#ifdef CONFIG_KALLSYMS
312 /* We keep the symbol and string tables for kallsyms. */ 314 /*
313 Elf_Sym *symtab; 315 * We keep the symbol and string tables for kallsyms.
314 unsigned int num_symtab; 316 * The core_* fields below are temporary, loader-only (they
315 char *strtab; 317 * could really be discarded after module init).
318 */
319 Elf_Sym *symtab, *core_symtab;
320 unsigned int num_symtab, core_num_syms;
321 char *strtab, *core_strtab;
316 322
317 /* Section attributes */ 323 /* Section attributes */
318 struct module_sect_attrs *sect_attrs; 324 struct module_sect_attrs *sect_attrs;
@@ -327,10 +333,6 @@ struct module
327 /* The command line arguments (may be mangled). People like 333 /* The command line arguments (may be mangled). People like
328 keeping pointers to this stuff */ 334 keeping pointers to this stuff */
329 char *args; 335 char *args;
330#ifdef CONFIG_MARKERS
331 struct marker *markers;
332 unsigned int num_markers;
333#endif
334#ifdef CONFIG_TRACEPOINTS 336#ifdef CONFIG_TRACEPOINTS
335 struct tracepoint *tracepoints; 337 struct tracepoint *tracepoints;
336 unsigned int num_tracepoints; 338 unsigned int num_tracepoints;
@@ -535,8 +537,6 @@ int unregister_module_notifier(struct notifier_block * nb);
535 537
536extern void print_modules(void); 538extern void print_modules(void);
537 539
538extern void module_update_markers(void);
539
540extern void module_update_tracepoints(void); 540extern void module_update_tracepoints(void);
541extern int module_get_iter_tracepoints(struct tracepoint_iter *iter); 541extern int module_get_iter_tracepoints(struct tracepoint_iter *iter);
542 542
@@ -651,10 +651,6 @@ static inline void print_modules(void)
651{ 651{
652} 652}
653 653
654static inline void module_update_markers(void)
655{
656}
657
658static inline void module_update_tracepoints(void) 654static inline void module_update_tracepoints(void)
659{ 655{
660} 656}