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

Tommi Virtanen tv at debian.org
Sun Dec 30 00:35:53 PST 2001


Keith Owens <kaos at sgi.com> writes:

> Other way around.  Calls to kdb from non-kdb code need to be wrapped in
> #ifdef CONFIG_KDB, I missed one.

	Then why do you, in include/linux/kdb.h, do

#ifdef CONFIG_KDB
extern int kdb(....);
#else
#define kdb(....) (0)
#endif

        then?

	I understand my suggestion is the approach Linus likes..

-- 
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);}



More information about the kdb mailing list