summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-01-07 22:16:10 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2005-01-07 22:16:10 -0800
commit38326f786cf4529a86b1ccde3aa17f4fa7e8472a (patch)
treea0e74060d04357ebc9c18d1612bede2ef5965889 /include
parent974933e65f6b0d2fdc0c75215aefd54da4d377db (diff)
[PATCH] DEBUG_BUGVERBOSE for i386
The patch below implements CONFIG_DEBUG_BUGVERBOSE for i386 (more exactly, it allows disabling the verbose BUG() reporting). Also, require CONFIG_EMBEDDED for this option: we don't want to make it easy for people to disable useful debug info. (With lots of help from Roman Zippel <zippel@linux-m68k.org>) Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/bug.h b/include/asm-i386/bug.h
index c9f0bf3435d1..706eb511c330 100644
--- a/include/asm-i386/bug.h
+++ b/include/asm-i386/bug.h
@@ -9,7 +9,7 @@
* undefined" opcode for parsing in the trap handler.
*/
-#if 1 /* Set to zero for a slightly smaller kernel */
+#ifdef CONFIG_DEBUG_BUGVERBOSE
#define BUG() \
__asm__ __volatile__( "ud2\n" \
"\t.word %c0\n" \