Doing some various "make randconfig" and came across an error when CONFIG_BUG was not set. Looking further in this, I found that module_find_bug, defined in powerpc arch code, is not called anywhere.
There is a static module_find_bug in lib/bug.c but that is a separate issue. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/module.c | 15 --------------- 1 file changed, 15 deletions(-) Index: linux-tip.git/arch/powerpc/kernel/module.c =================================================================== --- linux-tip.git.orig/arch/powerpc/kernel/module.c 2008-08-15 20:18:52.000000000 -0700 +++ linux-tip.git/arch/powerpc/kernel/module.c 2008-08-15 20:18:58.000000000 -0700 @@ -99,18 +99,3 @@ void module_arch_cleanup(struct module * { module_bug_cleanup(mod); } - -struct bug_entry *module_find_bug(unsigned long bugaddr) -{ - struct mod_arch_specific *mod; - unsigned int i; - struct bug_entry *bug; - - list_for_each_entry(mod, &module_bug_list, bug_list) { - bug = mod->bug_table; - for (i = 0; i < mod->num_bugs; ++i, ++bug) - if (bugaddr == bug->bug_addr) - return bug; - } - return NULL; -} _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev