Re: [PATCH] Better BUG() macro - take 2

2001-02-22 Thread Aaron Lehmann
On Tue, Feb 20, 2001 at 05:48:35AM -0500, Paul Gortmaker wrote: > Ok, it appears that some people want the __FILE__, __LINE__ (or equivalent) > in BUG() and some don't. Fair enough. I used the existing config option > CONFIG_DEBUG_ERRORS to allow people to choose. There was also interest > in h

Re: [PATCH] Better BUG() macro - take 2

2001-02-20 Thread J . A . Magallon
On 02.20 Paul Gortmaker wrote: > > +#ifdef CONFIG_DEBUG_ERRORS > +const char *kernel_bug = "kernel BUG at %s: line %d!\n"; > +#endif > .. > EXPORT_SYMBOL(daemonize); > +EXPORT_SYMBOL(kernel_bug); > Should also be #ifdef'd. -- J.A. Magallon