diff options
Diffstat (limited to 'include/linux/module.h')
| -rw-r--r-- | include/linux/module.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index d33df2408e05..419d3ef293dd 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
| @@ -58,6 +58,7 @@ struct module_kobject | |||
| 58 | { | 58 | { |
| 59 | struct kobject kobj; | 59 | struct kobject kobj; |
| 60 | struct module *mod; | 60 | struct module *mod; |
| 61 | struct kobject *drivers_dir; | ||
| 61 | }; | 62 | }; |
| 62 | 63 | ||
| 63 | /* These are either module local, or the kernel's dummy ones. */ | 64 | /* These are either module local, or the kernel's dummy ones. */ |
| @@ -263,7 +264,7 @@ struct module | |||
| 263 | struct module_attribute *modinfo_attrs; | 264 | struct module_attribute *modinfo_attrs; |
| 264 | const char *version; | 265 | const char *version; |
| 265 | const char *srcversion; | 266 | const char *srcversion; |
| 266 | struct kobject *drivers_dir; | 267 | struct kobject *holders_dir; |
| 267 | 268 | ||
| 268 | /* Exported symbols */ | 269 | /* Exported symbols */ |
| 269 | const struct kernel_symbol *syms; | 270 | const struct kernel_symbol *syms; |
| @@ -319,6 +320,13 @@ struct module | |||
| 319 | 320 | ||
| 320 | unsigned int taints; /* same bits as kernel:tainted */ | 321 | unsigned int taints; /* same bits as kernel:tainted */ |
| 321 | 322 | ||
| 323 | #ifdef CONFIG_GENERIC_BUG | ||
| 324 | /* Support for BUG */ | ||
| 325 | struct list_head bug_list; | ||
| 326 | struct bug_entry *bug_table; | ||
| 327 | unsigned num_bugs; | ||
| 328 | #endif | ||
| 329 | |||
| 322 | #ifdef CONFIG_MODULE_UNLOAD | 330 | #ifdef CONFIG_MODULE_UNLOAD |
| 323 | /* Reference counts */ | 331 | /* Reference counts */ |
| 324 | struct module_ref ref[NR_CPUS]; | 332 | struct module_ref ref[NR_CPUS]; |
