diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:26:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:26:56 -0700 |
commit | 03fc922f4085a0139f313831fe2dc6fed467cd2d (patch) | |
tree | 1404c800acaf02eab054eb3448803db9d9b89262 /include/linux | |
parent | a0be7522b25f17ac2c3964a24b88b5fe7c9404b8 (diff) | |
parent | df4b565e1fbc777bb6e274378a41fa8ff7485680 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
module: add MODULE_STATE_GOING notifier call
module: Enhance verify_export_symbols
module: set unused_gpl_crcs instead of overwriting unused_crcs
module: neaten __find_symbol, rename to find_symbol
module: reduce module image and resident size
module: make module_sect_attrs private to kernel/module.c
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/module.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 819c4e889bf..3e03b1acbc9 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -190,7 +190,7 @@ void *__symbol_get_gpl(const char *symbol); extern typeof(sym) sym; \ __CRC_SYMBOL(sym, sec) \ static const char __kstrtab_##sym[] \ - __attribute__((section("__ksymtab_strings"))) \ + __attribute__((section("__ksymtab_strings"), aligned(1))) \ = MODULE_SYMBOL_PREFIX #sym; \ static const struct kernel_symbol __ksymtab_##sym \ __used \ @@ -229,23 +229,6 @@ enum module_state MODULE_STATE_GOING, }; -/* Similar stuff for section attributes. */ -struct module_sect_attr -{ - struct module_attribute mattr; - char *name; - unsigned long address; -}; - -struct module_sect_attrs -{ - struct attribute_group grp; - int nsections; - struct module_sect_attr attrs[0]; -}; - -struct module_param_attrs; - struct module { enum module_state state; |