Skip to content

Commit

Permalink
Blackfin arch: Add optional verbose debug
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robin Getz authored and Bryan Wu committed Oct 10, 2008
1 parent a88c71e commit 9f06c38
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 100 deletions.
13 changes: 13 additions & 0 deletions arch/blackfin/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 9f06c38

Please sign in to comment.