mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 11:30:08 +01:00
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 <[email protected]> Cc: Chris Metcalf <[email protected]> Acked-by: David S. Miller <[email protected]> Acked-by: Richard Weinberger <[email protected]> Acked-by: Mike Frysinger <[email protected]> Cc: Russell King <[email protected]> Cc: Hirokazu Takata <[email protected]> Acked-by: Ralf Baechle <[email protected]> Cc: Paul Mackerras <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Cc: Chen Liqin <[email protected]> Cc: Lennox Wu <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
29 lines
811 B
Plaintext
29 lines
811 B
Plaintext
menu "Kernel hacking"
|
|
|
|
config TRACE_IRQFLAGS_SUPPORT
|
|
bool
|
|
default y
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
config CMDLINE
|
|
string "Default kernel command string"
|
|
default ""
|
|
help
|
|
On some platforms, there is currently no way for the boot loader to
|
|
pass arguments to the kernel. For these platforms, you can supply
|
|
some command-line options at build time by entering them here. In
|
|
other cases you can specify kernel args so that you don't have
|
|
to set them up in board prom initialization routines.
|
|
|
|
config RUNTIME_DEBUG
|
|
bool "Enable run-time debugging"
|
|
depends on DEBUG_KERNEL
|
|
help
|
|
If you say Y here, some debugging macros will do run-time checking.
|
|
If you say N here, those macros will mostly turn to no-ops. See
|
|
include/asm-score/debug.h for debuging macros.
|
|
If unsure, say N.
|
|
|
|
endmenu
|