aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2005-05-01 11:59:01 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:59:01 -0400
commitc8538a7aa5527d02c7191ac5da124efadf6a2827 (patch)
tree6a2fae8be308d38ed1abe1d5c7539db29238ae61 /init
parente43379f10b42194b8a6e1de342cfb44463c0f6da (diff)
[PATCH] remove all kernel BUGs
This patch eliminates all kernel BUGs, trims about 35k off the typical kernel, and makes the system slightly faster. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index abe2682a6ca6..42dca393b94e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -275,6 +275,16 @@ config KALLSYMS_EXTRA_PASS
275 reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while 275 reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while
276 you wait for kallsyms to be fixed. 276 you wait for kallsyms to be fixed.
277 277
278config BUG
279 bool "BUG() support" if EMBEDDED
280 default y
281 help
282 Disabling this option eliminates support for BUG and WARN, reducing
283 the size of your kernel image and potentially quietly ignoring
284 numerous fatal conditions. You should only consider disabling this
285 option for embedded systems with no facilities for reporting errors.
286 Just say Y.
287
278config BASE_FULL 288config BASE_FULL
279 default y 289 default y
280 bool "Enable full-sized data structures for core" if EMBEDDED 290 bool "Enable full-sized data structures for core" if EMBEDDED