1 --- a/linux/include/linux/module.h 2009-07-27 09:17:57.000000000 +0000
2 +++ b/linux/include/linux/module.h 2009-07-27 09:39:26.000000000 +0000
4 #include <linux/kobject.h>
5 #include <linux/moduleparam.h>
6 #include <linux/marker.h>
7 -#include <linux/tracepoint.h>
10 #include <asm/module.h>
12 unsigned int num_markers;
15 -#ifdef CONFIG_TRACEPOINTS
16 - struct tracepoint *tracepoints;
17 - unsigned int num_tracepoints;
20 #ifdef CONFIG_MODULE_UNLOAD
21 /* What modules depend on me? */
22 struct list_head modules_which_use_me;
26 /* Reference counts */
27 - struct module_ref *ref;
28 + struct module_ref ref[NR_CPUS];
32 #ifndef MODULE_ARCH_INIT
33 #define MODULE_ARCH_INIT {}
35 struct module *module_text_address(unsigned long addr);
36 struct module *__module_text_address(unsigned long addr);
37 int is_module_address(unsigned long addr);
38 -const char *supported_printable(int taint);
40 /* Returns 0 and fills in value, defined and namebuf, or -ERANGE if
41 symnum out of range. */
44 extern void module_update_markers(void);
46 -extern void module_update_tracepoints(void);
47 -extern int module_get_iter_tracepoints(struct tracepoint_iter *iter);
49 #else /* !CONFIG_MODULES... */
50 #define EXPORT_SYMBOL(sym)
51 #define EXPORT_SYMBOL_GPL(sym)
56 -static inline void module_update_tracepoints(void)
60 -static inline int module_get_iter_tracepoints(struct tracepoint_iter *iter)
65 #endif /* CONFIG_MODULES */