Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Catalin Marinas and committed by
Linus Torvalds
9b2a60c4 b69ec42b

+11 -4
+1
arch/arm64/Kconfig
··· 10 10 select GENERIC_TIME_VSYSCALL 11 11 select HARDIRQS_SW_RESEND 12 12 select HAVE_ARCH_TRACEHOOK 13 + select HAVE_DEBUG_BUGVERBOSE 13 14 select HAVE_DEBUG_KMEMLEAK 14 15 select HAVE_DMA_API_DEBUG 15 16 select HAVE_DMA_ATTRS
+1
arch/frv/Kconfig
··· 8 8 select HAVE_UID16 9 9 select HAVE_GENERIC_HARDIRQS 10 10 select GENERIC_IRQ_SHOW 11 + select HAVE_DEBUG_BUGVERBOSE 11 12 select ARCH_HAVE_NMI_SAFE_CMPXCHG 12 13 select GENERIC_CPU_DEVICES 13 14 select ARCH_WANT_IPC_PARSE_VERSION
+1
arch/m32r/Kconfig
··· 8 8 select HAVE_KERNEL_BZIP2 9 9 select HAVE_KERNEL_LZMA 10 10 select ARCH_WANT_IPC_PARSE_VERSION 11 + select HAVE_DEBUG_BUGVERBOSE 11 12 select HAVE_GENERIC_HARDIRQS 12 13 select GENERIC_IRQ_PROBE 13 14 select GENERIC_IRQ_SHOW
+1
arch/m68k/Kconfig
··· 3 3 default y 4 4 select HAVE_IDE 5 5 select HAVE_AOUT if MMU 6 + select HAVE_DEBUG_BUGVERBOSE 6 7 select HAVE_GENERIC_HARDIRQS 7 8 select GENERIC_IRQ_SHOW 8 9 select GENERIC_ATOMIC64
+1
arch/sh/Kconfig
··· 13 13 select HAVE_DMA_ATTRS 14 14 select HAVE_IRQ_WORK 15 15 select HAVE_PERF_EVENTS 16 + select HAVE_DEBUG_BUGVERBOSE 16 17 select ARCH_HAVE_CUSTOM_GPIO_H 17 18 select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) 18 19 select PERF_USE_VMALLOC
+1
arch/sparc/Kconfig
··· 32 32 select GENERIC_PCI_IOMAP 33 33 select HAVE_NMI_WATCHDOG if SPARC64 34 34 select HAVE_BPF_JIT 35 + select HAVE_DEBUG_BUGVERBOSE 35 36 select GENERIC_SMP_IDLE_THREAD 36 37 select GENERIC_CMOS_UPDATE 37 38 select GENERIC_CLOCKEVENTS
+1
arch/tile/Kconfig
··· 14 14 select GENERIC_IRQ_PROBE 15 15 select GENERIC_PENDING_IRQ if SMP 16 16 select GENERIC_IRQ_SHOW 17 + select HAVE_DEBUG_BUGVERBOSE 17 18 select HAVE_SYSCALL_WRAPPERS if TILEGX 18 19 select SYS_HYPERVISOR 19 20 select ARCH_HAVE_NMI_SAFE_CMPXCHG
+4 -4
lib/Kconfig.debug
··· 751 751 This options enables addition error checking for high memory systems. 752 752 Disable for production systems. 753 753 754 + config HAVE_DEBUG_BUGVERBOSE 755 + bool 756 + 754 757 config DEBUG_BUGVERBOSE 755 758 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT 756 - depends on BUG 757 - depends on ARM || AVR32 || M32R || M68K || SPARC32 || SPARC64 || \ 758 - FRV || SUPERH || GENERIC_BUG || BLACKFIN || MN10300 || \ 759 - TILE || ARM64 759 + depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) 760 760 default y 761 761 help 762 762 Say Y here to make BUG() panics output the file name and line number