[PATCH] Re: Linux 2.4.2ac14

Tachino Nobuhiro (tachino@open.nm.fujitsu.co.jp)
Thu, 08 Mar 2001 09:43:31 +0900


Hello,

2.4.2ac14 compilation fails when CONFIG_DEBUG_BUGVERBOSE is not enabled.
Here is my small patch.

diff -r -u linux-2.4.2-ac14.org/include/asm-i386/page.h linux-2.4.2-ac14/include/asm-i386/page.h
--- linux-2.4.2-ac14.org/include/asm-i386/page.h Thu Mar 8 09:31:45 2001
+++ linux-2.4.2-ac14/include/asm-i386/page.h Thu Mar 8 09:21:43 2001
@@ -87,8 +87,8 @@
* see^H^H^Hhear bugs in early bootup as well!
*/

-#ifdef CONFIG_DEBUG_BUGVERBOSE
extern void do_BUG(const char *file, int line);
+#ifdef CONFIG_DEBUG_BUGVERBOSE
#define BUG() do { \
do_BUG(__FILE__, __LINE__); \
__asm__ __volatile__(".byte 0x0f,0x0b"); \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/