aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2005-05-01 11:59:02 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:59:02 -0400
commitd59745ce3e7aa13856bca16d3bcbb95041775ff6 (patch)
tree6e495bb6697d86534685bf813c43e210a8d8323a /init/Kconfig
parentcd7619d6bf36564cf54ff7218ef54e558a741913 (diff)
[PATCH] clean up kernel messages
Arrange for all kernel printks to be no-ops. Only available if CONFIG_EMBEDDED. This patch saves about 375k on my laptop config and nearly 100k on minimal configs. 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/Kconfig')
-rw-r--r--init/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 42dca393b94e..40d286d1d118 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -275,6 +275,17 @@ 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
278
279config PRINTK
280 default y
281 bool "Enable support for printk" if EMBEDDED
282 help
283 This option enables normal printk support. Removing it
284 eliminates most of the message strings from the kernel image
285 and makes the kernel more or less silent. As this makes it
286 very difficult to diagnose system problems, saying N here is
287 strongly discouraged.
288
278config BUG 289config BUG
279 bool "BUG() support" if EMBEDDED 290 bool "BUG() support" if EMBEDDED
280 default y 291 default y