diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-10-10 18:13:21 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-10 18:13:21 +0800 |
commit | 9f06c38fb230720371397a57faa24aa6e31b2c87 (patch) | |
tree | c9bb931986abc5ad2ebaccf4946687e95805071c /arch/blackfin/Kconfig.debug | |
parent | a88c71e4367aada2065c5e247477c891d2ca952f (diff) | |
download | linux-9f06c38fb230720371397a57faa24aa6e31b2c87.tar.gz linux-9f06c38fb230720371397a57faa24aa6e31b2c87.tar.bz2 linux-9f06c38fb230720371397a57faa24aa6e31b2c87.zip |
Blackfin arch: Add optional verbose debug
Add optional verbose debug - which when turned off, quiets down
userspace errors. Saves ~8k of code/data for production systems
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig.debug')
-rw-r--r-- | arch/blackfin/Kconfig.debug | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig.debug b/arch/blackfin/Kconfig.debug index f08aea4fc5eb..3ad25983ec97 100644 --- a/arch/blackfin/Kconfig.debug +++ b/arch/blackfin/Kconfig.debug @@ -5,6 +5,19 @@ source "lib/Kconfig.debug" config HAVE_ARCH_KGDB def_bool y +config DEBUG_VERBOSE + bool "Verbose fault messages" + default y + select PRINTK + help + When a program crashes due to an exception, or the kernel detects + an internal error, the kernel can print a not so brief message + explaining what the problem was. This debugging information is + useful to developers and kernel hackers when tracking down problems, + but mostly meaningless to other people. This is always helpful for + debugging but serves no purpose on a production system. + Most people should say N here. + config DEBUG_MMRS bool "Generate Blackfin MMR tree" select DEBUG_FS |