* [PATCH] Fix for disabling BUG
@ 2008-04-17 19:33 Marcelo Dalmas
0 siblings, 0 replies; only message in thread
From: Marcelo Dalmas @ 2008-04-17 19:33 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
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/
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: powerpc-config-bug.patch --]
[-- Type: text/x-diff; name="powerpc-config-bug.patch", Size: 858 bytes --]
Index: arch/powerpc/kernel/module_64.c
===================================================================
--- arch/powerpc/kernel/module_64.c (revisão 51)
+++ arch/powerpc/kernel/module_64.c (cópia de trabalho)
@@ -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
Index: arch/powerpc/kernel/module_32.c
===================================================================
--- arch/powerpc/kernel/module_32.c (revisão 51)
+++ arch/powerpc/kernel/module_32.c (cópia de trabalho)
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-17 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 19:33 [PATCH] Fix for disabling BUG Marcelo Dalmas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox