diff options
| author | Dmitry Torokhov <dtor@insightbb.com> | 2007-02-10 01:26:32 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-02-10 01:26:32 -0500 |
| commit | b22364c8eec89e6b0c081a237f3b6348df87796f (patch) | |
| tree | 233a923281fb640106465d076997ff511efb6edf /include/linux/module.h | |
| parent | 2c8dc071517ec2843869024dc82be2e246f41064 (diff) | |
| parent | 66efc5a7e3061c3597ac43a8bb1026488d57e66b (diff) | |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
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]; |
