kdb
[Top] [All Lists]

[PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n

To: kdb@xxxxxxxxxxx
Subject: [PATCH] Compiling v2.0-2.4.17-i386-1 with CONFIG_KDB=n
From: Tommi Virtanen <tv@xxxxxxxxxx>
Date: 29 Dec 2001 23:04:48 +0200
Sender: owner-kdb@xxxxxxxxxxx
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
        This patch is needed for compilation of v2.0-2.4.17-i386-1
        with CONFIG_KDB=n -- otherwise kdb() and friends are undefined.

--- linux-2.4.17.orig/arch/i386/kernel/traps.c  Sat Dec 29 21:27:08 2001
+++ linux-2.4.17/arch/i386/kernel/traps.c       Sat Dec 29 21:27:34 2001
@@ -30,9 +30,7 @@
 #include <asm/processor.h>
 #endif
 
-#ifdef CONFIG_KDB
 #include <linux/kdb.h>
-#endif /* CONFIG_KDB */
 
 #include <asm/system.h>
 #include <asm/uaccess.h>

-- 
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}

<Prev in Thread] Current Thread [Next in Thread>