Re: PATCH: Fix crash case

From: Randy.Dunlap
Date: Wed Aug 16 2006 - 15:13:09 EST

On Wed, 16 Aug 2006, Nick Warne wrote:

> Sorry for being a noob here - I read LKML to try to learn.
> What is meant by 'If we are going to BUG()... cover the case
> of the BUG being compiled out'.
> What would make BUG(); not being compiled?

It's a config option is EMBEDDED=y:

config BUG
bool "BUG() support" if EMBEDDED
default y
Disabling this option eliminates support for BUG and WARN, reducing
the size of your kernel image and potentially quietly ignoring
numerous fatal conditions. You should only consider disabling this
option for embedded systems with no facilities for reporting errors.
Just say Y.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at