]> git.baikalelectronics.ru Git - kernel.git/commit
lib: consolidate DEBUG_STACK_USAGE option
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 25 May 2011 00:13:36 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:54 +0000 (08:39 -0700)
commitffa82ccedeee0b750c0d8317c1e7b15d51608ccb
treec22cf20dc33d85770b88c117fd67b33c7bd7099d
parent6fbed46a8510e4ce65711c82cb12ba8eb36925b2
lib: consolidate DEBUG_STACK_USAGE option

Most arches define CONFIG_DEBUG_STACK_USAGE exactly the same way.  Move it
to lib/Kconfig.debug so each arch doesn't have to define it.  This
obviously makes the option generic, but that's fine because the config is
already used in generic code.

It's not obvious to me that sysrq-P actually does anything caution by
keeping the most inclusive wording.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Richard Weinberger <richard@nod.at>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
arch/arm/Kconfig.debug
arch/blackfin/Kconfig.debug
arch/m32r/Kconfig.debug
arch/mips/Kconfig.debug
arch/powerpc/Kconfig.debug
arch/score/Kconfig.debug
arch/sh/Kconfig.debug
arch/sparc/Kconfig.debug
arch/tile/Kconfig.debug
arch/um/Kconfig.debug
arch/unicore32/Kconfig.debug
arch/x86/Kconfig.debug
lib/Kconfig.debug