diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-05 11:17:35 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-05 11:17:36 +0930 |
commit | c8e21ced08b39ef8dfe7236fb2a923a95f645262 (patch) | |
tree | da34400daf3049814b459b9c8ba507d90abfe2bc /include/linux/module.h | |
parent | 2c02dfe7fe3fba97a5665d329d039d2415ea5607 (diff) | |
download | kernel_samsung_aries-c8e21ced08b39ef8dfe7236fb2a923a95f645262.zip kernel_samsung_aries-c8e21ced08b39ef8dfe7236fb2a923a95f645262.tar.gz kernel_samsung_aries-c8e21ced08b39ef8dfe7236fb2a923a95f645262.tar.bz2 |
module: fix kdb's illicit use of struct module_use.
Linus changed the structure, and luckily this didn't compile any more.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Martin Hicks <mort@sgi.com>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 680db9e..5d8fca5 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -181,6 +181,13 @@ void *__symbol_get(const char *symbol); void *__symbol_get_gpl(const char *symbol); #define symbol_get(x) ((typeof(&x))(__symbol_get(MODULE_SYMBOL_PREFIX #x))) +/* modules using other modules: kdb wants to see this. */ +struct module_use { + struct list_head source_list; + struct list_head target_list; + struct module *source, *target; +}; + #ifndef __GENKSYMS__ #ifdef CONFIG_MODVERSIONS /* Mark the CRC weak since genksyms apparently decides not to |