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 | |
| 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>
| -rw-r--r-- | arch/arm64/Kconfig | 1 | ||||
| -rw-r--r-- | arch/frv/Kconfig | 1 | ||||
| -rw-r--r-- | arch/m32r/Kconfig | 1 | ||||
| -rw-r--r-- | arch/m68k/Kconfig | 1 | ||||
| -rw-r--r-- | arch/sh/Kconfig | 1 | ||||
| -rw-r--r-- | arch/sparc/Kconfig | 1 | ||||
| -rw-r--r-- | arch/tile/Kconfig | 1 | ||||
| -rw-r--r-- | lib/Kconfig.debug | 8 |
8 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 5dc9273781d6..a30856058742 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
| @@ -10,6 +10,7 @@ config ARM64 | |||
| 10 | select GENERIC_TIME_VSYSCALL | 10 | select GENERIC_TIME_VSYSCALL |
| 11 | select HARDIRQS_SW_RESEND | 11 | select HARDIRQS_SW_RESEND |
| 12 | select HAVE_ARCH_TRACEHOOK | 12 | select HAVE_ARCH_TRACEHOOK |
| 13 | select HAVE_DEBUG_BUGVERBOSE | ||
| 13 | select HAVE_DEBUG_KMEMLEAK | 14 | select HAVE_DEBUG_KMEMLEAK |
| 14 | select HAVE_DMA_API_DEBUG | 15 | select HAVE_DMA_API_DEBUG |
| 15 | select HAVE_DMA_ATTRS | 16 | select HAVE_DMA_ATTRS |
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index cc5709d18350..9d262645f667 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
| @@ -8,6 +8,7 @@ config FRV | |||
| 8 | select HAVE_UID16 | 8 | select HAVE_UID16 |
| 9 | select HAVE_GENERIC_HARDIRQS | 9 | select HAVE_GENERIC_HARDIRQS |
| 10 | select GENERIC_IRQ_SHOW | 10 | select GENERIC_IRQ_SHOW |
| 11 | select HAVE_DEBUG_BUGVERBOSE | ||
| 11 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
| 12 | select GENERIC_CPU_DEVICES | 13 | select GENERIC_CPU_DEVICES |
| 13 | select ARCH_WANT_IPC_PARSE_VERSION | 14 | select ARCH_WANT_IPC_PARSE_VERSION |
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 49498bbb9616..e875fc3ce9cb 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
| @@ -8,6 +8,7 @@ config M32R | |||
| 8 | select HAVE_KERNEL_BZIP2 | 8 | select HAVE_KERNEL_BZIP2 |
| 9 | select HAVE_KERNEL_LZMA | 9 | select HAVE_KERNEL_LZMA |
| 10 | select ARCH_WANT_IPC_PARSE_VERSION | 10 | select ARCH_WANT_IPC_PARSE_VERSION |
| 11 | select HAVE_DEBUG_BUGVERBOSE | ||
| 11 | select HAVE_GENERIC_HARDIRQS | 12 | select HAVE_GENERIC_HARDIRQS |
| 12 | select GENERIC_IRQ_PROBE | 13 | select GENERIC_IRQ_PROBE |
| 13 | select GENERIC_IRQ_SHOW | 14 | select GENERIC_IRQ_SHOW |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 3e2b2f66db60..dae1e7e16a37 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
| @@ -3,6 +3,7 @@ config M68K | |||
| 3 | default y | 3 | default y |
| 4 | select HAVE_IDE | 4 | select HAVE_IDE |
| 5 | select HAVE_AOUT if MMU | 5 | select HAVE_AOUT if MMU |
| 6 | select HAVE_DEBUG_BUGVERBOSE | ||
| 6 | select HAVE_GENERIC_HARDIRQS | 7 | select HAVE_GENERIC_HARDIRQS |
| 7 | select GENERIC_IRQ_SHOW | 8 | select GENERIC_IRQ_SHOW |
| 8 | select GENERIC_ATOMIC64 | 9 | select GENERIC_ATOMIC64 |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index cfbf3e3c982b..3b3e27a3ff2c 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
| @@ -13,6 +13,7 @@ config SUPERH | |||
| 13 | select HAVE_DMA_ATTRS | 13 | select HAVE_DMA_ATTRS |
| 14 | select HAVE_IRQ_WORK | 14 | select HAVE_IRQ_WORK |
| 15 | select HAVE_PERF_EVENTS | 15 | select HAVE_PERF_EVENTS |
| 16 | select HAVE_DEBUG_BUGVERBOSE | ||
| 16 | select ARCH_HAVE_CUSTOM_GPIO_H | 17 | select ARCH_HAVE_CUSTOM_GPIO_H |
| 17 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) | 18 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) |
| 18 | select PERF_USE_VMALLOC | 19 | select PERF_USE_VMALLOC |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 274d6cf0ada2..700a01adec3a 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
| @@ -32,6 +32,7 @@ config SPARC | |||
| 32 | select GENERIC_PCI_IOMAP | 32 | select GENERIC_PCI_IOMAP |
| 33 | select HAVE_NMI_WATCHDOG if SPARC64 | 33 | select HAVE_NMI_WATCHDOG if SPARC64 |
| 34 | select HAVE_BPF_JIT | 34 | select HAVE_BPF_JIT |
| 35 | select HAVE_DEBUG_BUGVERBOSE | ||
| 35 | select GENERIC_SMP_IDLE_THREAD | 36 | select GENERIC_SMP_IDLE_THREAD |
| 36 | select GENERIC_CMOS_UPDATE | 37 | select GENERIC_CMOS_UPDATE |
| 37 | select GENERIC_CLOCKEVENTS | 38 | select GENERIC_CLOCKEVENTS |
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 9a0d77d3ba14..df69d4296b4b 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
| @@ -14,6 +14,7 @@ config TILE | |||
| 14 | select GENERIC_IRQ_PROBE | 14 | select GENERIC_IRQ_PROBE |
| 15 | select GENERIC_PENDING_IRQ if SMP | 15 | select GENERIC_PENDING_IRQ if SMP |
| 16 | select GENERIC_IRQ_SHOW | 16 | select GENERIC_IRQ_SHOW |
| 17 | select HAVE_DEBUG_BUGVERBOSE | ||
| 17 | select HAVE_SYSCALL_WRAPPERS if TILEGX | 18 | select HAVE_SYSCALL_WRAPPERS if TILEGX |
| 18 | select SYS_HYPERVISOR | 19 | select SYS_HYPERVISOR |
| 19 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 20 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
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 |
