Re: [2.6 patch] DEBUG_BUGVERBOSE for i386 (fwd)

From: Adrian Bunk
Date: Wed Nov 17 2004 - 08:34:48 EST


On Wed, Nov 17, 2004 at 02:25:34PM +0100, Roman Zippel wrote:

> Hi,

Hi Roman,

> On Wed, 17 Nov 2004, Adrian Bunk wrote:
>
> > > > config DEBUG_BUGVERBOSE
> > > > bool "Verbose BUG() reporting (adds 70K)" if EMBEDDED
> > > > depends on (DEBUG_KERNEL || EMBEDDED=n) && (ARM || ...)
> > > > default y
> > >
> > > What are you trying to do here?
> >
> > - if EMBEDDED=n, always enable it
> > - if EMBEDDED=y:
> > - disable if DEBUG_KERNEL=n
> > - ask if DEBUG_KERNEL=y
>
> This should do it:
>
> config DEBUG_BUGVERBOSE
> bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED
> depends on ARM || ...
> default !EMBEDDED

yes, this is semantically equivalent to my solution but better
readable.

> bye, Roman

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/