aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index 21591ad921f3..d9e237926b69 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -59,8 +59,6 @@
59#define CREATE_TRACE_POINTS 59#define CREATE_TRACE_POINTS
60#include <trace/events/module.h> 60#include <trace/events/module.h>
61 61
62EXPORT_TRACEPOINT_SYMBOL(module_get);
63
64#if 0 62#if 0
65#define DEBUGP printk 63#define DEBUGP printk
66#else 64#else
@@ -467,6 +465,9 @@ MODINFO_ATTR(srcversion);
467static char last_unloaded_module[MODULE_NAME_LEN+1]; 465static char last_unloaded_module[MODULE_NAME_LEN+1];
468 466
469#ifdef CONFIG_MODULE_UNLOAD 467#ifdef CONFIG_MODULE_UNLOAD
468
469EXPORT_TRACEPOINT_SYMBOL(module_get);
470
470/* Init the unload section of the module. */ 471/* Init the unload section of the module. */
471static void module_unload_init(struct module *mod) 472static void module_unload_init(struct module *mod)
472{ 473{