consolidate per-arch stack overflow debugging options
authorDave Hansen <dave@linux.vnet.ibm.com>
Mon, 1 Jul 2013 20:04:42 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jul 2013 18:25:39 +0000 (11:25 -0700)
commitd1a1dc0be866219f7a613c6368c6a036b8eefe03
tree3e82bc03670f24e26cb340278e6bc2abd8f7f54b
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376
consolidate per-arch stack overflow debugging options

Original posting:

http://lkml.kernel.org/r/20121214184202.F54094D9@kernel.stglabs.ibm.com

Several architectures have similar stack debugging config options.
They all pretty much do the same thing, some with slightly
differing help text.

This patch changes the architectures to instead enable a Kconfig
boolean, and then use that boolean in the generic Kconfig.debug
to present the actual menu option.  This removes a bunch of
duplication and adds consistency across arches.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com> [for tile]
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 files changed:
arch/arc/Kconfig
arch/arc/Kconfig.debug
arch/blackfin/Kconfig
arch/blackfin/Kconfig.debug
arch/frv/Kconfig
arch/frv/Kconfig.debug
arch/m32r/Kconfig
arch/m32r/Kconfig.debug
arch/metag/Kconfig
arch/metag/Kconfig.debug
arch/mips/Kconfig
arch/mips/Kconfig.debug
arch/mn10300/Kconfig
arch/mn10300/Kconfig.debug
arch/openrisc/Kconfig
arch/parisc/Kconfig
arch/parisc/Kconfig.debug
arch/powerpc/Kconfig
arch/powerpc/Kconfig.debug
arch/tile/Kconfig
arch/tile/Kconfig.debug
arch/x86/Kconfig
arch/x86/Kconfig.debug
lib/Kconfig.debug