Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750912AbWHPTPn (ORCPT ); Wed, 16 Aug 2006 15:15:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750916AbWHPTPn (ORCPT ); Wed, 16 Aug 2006 15:15:43 -0400 Received: from xenotime.net ([66.160.160.81]:9600 "HELO xenotime.net") by vger.kernel.org with SMTP id S1750906AbWHPTPm (ORCPT ); Wed, 16 Aug 2006 15:15:42 -0400 Date: Wed, 16 Aug 2006 12:15:37 -0700 (PDT) From: "Randy.Dunlap" X-X-Sender: rddunlap@shark.he.net To: nick@linicks.net cc: Jan Engelhardt , Alan Cox , akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: PATCH: Fix crash case In-Reply-To: <7c3341450608161210ua4d0d4esc54f98c3ada69f3d@mail.gmail.com> Message-ID: References: <1155746131.24077.363.camel@localhost.localdomain> <7c3341450608161210ua4d0d4esc54f98c3ada69f3d@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 28 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 help 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. -- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/