diff options
| author | Catalin Marinas <catalin.marinas@arm.com> | 2012-10-08 19:28:13 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 03:22:14 -0400 |
| commit | 9b2a60c484715e2d2f07d8192fd9f18435cbc77c (patch) | |
| tree | b3dd901bd1e2a22d4ff7bf8c4d5c733e846d0d3f /lib | |
| parent | b69ec42b1b194cc88f04b3fbcda8d3f93182d6c3 (diff) | |
Kconfig: clean up the long arch list for the DEBUG_BUGVERBOSE config option
Introduce HAVE_DEBUG_BUGVERBOSE config option and select it in
corresponding architecture Kconfig files. Architectures that already
select GENERIC_BUG don't need to select HAVE_DEBUG_BUGVERBOSE.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 736db3990506..b7281e4d1473 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -751,12 +751,12 @@ config DEBUG_HIGHMEM | |||
| 751 | This options enables addition error checking for high memory systems. | 751 | This options enables addition error checking for high memory systems. |
| 752 | Disable for production systems. | 752 | Disable for production systems. |
| 753 | 753 | ||
| 754 | config HAVE_DEBUG_BUGVERBOSE | ||
| 755 | bool | ||
| 756 | |||
| 754 | config DEBUG_BUGVERBOSE | 757 | config DEBUG_BUGVERBOSE |
| 755 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT | 758 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT |
| 756 | depends on BUG | 759 | depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) |
| 757 | depends on ARM || AVR32 || M32R || M68K || SPARC32 || SPARC64 || \ | ||
| 758 | FRV || SUPERH || GENERIC_BUG || BLACKFIN || MN10300 || \ | ||
| 759 | TILE || ARM64 | ||
| 760 | default y | 760 | default y |
| 761 | help | 761 | help |
| 762 | Say Y here to make BUG() panics output the file name and line number | 762 | Say Y here to make BUG() panics output the file name and line number |
