diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2010-12-30 00:20:30 -0500 |
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2010-12-30 00:21:47 -0500 |
| commit | d392da5207352f09030e95d9ea335a4225667ec0 (patch) | |
| tree | 7d6cd1932afcad0a5619a5c504a6d93ca318187c /include/linux/module.h | |
| parent | e39d5ef678045d61812c1401f04fe8edb14d6359 (diff) | |
| parent | 387c31c7e5c9805b0aef8833d1731a5fe7bdea14 (diff) | |
Merge v2.6.37-rc8 into powerpc/next
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 8a6b9fdc7ffa..7575bbbdf2a2 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
| @@ -350,7 +350,10 @@ struct module | |||
| 350 | struct tracepoint *tracepoints; | 350 | struct tracepoint *tracepoints; |
| 351 | unsigned int num_tracepoints; | 351 | unsigned int num_tracepoints; |
| 352 | #endif | 352 | #endif |
| 353 | 353 | #ifdef HAVE_JUMP_LABEL | |
| 354 | struct jump_entry *jump_entries; | ||
| 355 | unsigned int num_jump_entries; | ||
| 356 | #endif | ||
| 354 | #ifdef CONFIG_TRACING | 357 | #ifdef CONFIG_TRACING |
| 355 | const char **trace_bprintk_fmt_start; | 358 | const char **trace_bprintk_fmt_start; |
| 356 | unsigned int num_trace_bprintk_fmt; | 359 | unsigned int num_trace_bprintk_fmt; |
| @@ -514,7 +517,7 @@ static inline void __module_get(struct module *module) | |||
| 514 | #define symbol_put_addr(p) do { } while(0) | 517 | #define symbol_put_addr(p) do { } while(0) |
| 515 | 518 | ||
| 516 | #endif /* CONFIG_MODULE_UNLOAD */ | 519 | #endif /* CONFIG_MODULE_UNLOAD */ |
| 517 | int use_module(struct module *a, struct module *b); | 520 | int ref_module(struct module *a, struct module *b); |
| 518 | 521 | ||
| 519 | /* This is a #define so the string doesn't get put in every .o file */ | 522 | /* This is a #define so the string doesn't get put in every .o file */ |
| 520 | #define module_name(mod) \ | 523 | #define module_name(mod) \ |
| @@ -686,17 +689,16 @@ extern int module_sysfs_initialized; | |||
| 686 | 689 | ||
| 687 | 690 | ||
| 688 | #ifdef CONFIG_GENERIC_BUG | 691 | #ifdef CONFIG_GENERIC_BUG |
| 689 | int module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, | 692 | void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, |
| 690 | struct module *); | 693 | struct module *); |
| 691 | void module_bug_cleanup(struct module *); | 694 | void module_bug_cleanup(struct module *); |
| 692 | 695 | ||
| 693 | #else /* !CONFIG_GENERIC_BUG */ | 696 | #else /* !CONFIG_GENERIC_BUG */ |
| 694 | 697 | ||
| 695 | static inline int module_bug_finalize(const Elf_Ehdr *hdr, | 698 | static inline void module_bug_finalize(const Elf_Ehdr *hdr, |
| 696 | const Elf_Shdr *sechdrs, | 699 | const Elf_Shdr *sechdrs, |
| 697 | struct module *mod) | 700 | struct module *mod) |
| 698 | { | 701 | { |
| 699 | return 0; | ||
| 700 | } | 702 | } |
| 701 | static inline void module_bug_cleanup(struct module *mod) {} | 703 | static inline void module_bug_cleanup(struct module *mod) {} |
| 702 | #endif /* CONFIG_GENERIC_BUG */ | 704 | #endif /* CONFIG_GENERIC_BUG */ |
