Fix for disabling BUG
PATCH 1/1 Fix for disabling BUG
Hi,
With CONFIG_BUG option disabled module_find_bug fuction (module_32.c and module_64.c) don't compile because struct bug_entry isn't defined.
Marcelo Dalmas
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
powerpc/kernel/module_64.c +2 -0
@@ -467,6 +467,7 @@module_bug_cleanup (mod); } +#ifdef CONFIG_BUG struct bug_entry *module_find_bug (unsigned long bugaddr) {struct mod_arch_specific *mod;
@@ -481,3 +482,4 @@ }return NULL ; } +#endif
powerpc/kernel/module_32.c +2 -0
@@ -317,6 +317,7 @@module_bug_cleanup (mod); } +#ifdef CONFIG_BUG struct bug_entry *module_find_bug (unsigned long bugaddr) {struct mod_arch_specific *mod;
@@ -331,3 +332,4 @@ }return NULL ; } +#endif