ChangeSet 1.2231.1.111, 2005/03/28 19:47:24-08:00, [EMAIL PROTECTED]
[PATCH] uml: add kconfig debug deps
Add some needed dependencies for some debug options and hide the
MAGIC_SYSRQ
option for UML, since it displays this option in another menu.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
arch/um/Kconfig.debug | 6 +++---
lib/Kconfig.debug | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff -Nru a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
--- a/arch/um/Kconfig.debug 2005-03-28 21:30:54 -08:00
+++ b/arch/um/Kconfig.debug 2005-03-28 21:30:54 -08:00
@@ -8,7 +8,7 @@
config PT_PROXY
bool "Enable ptrace proxy"
- depends on XTERM_CHAN && DEBUG_INFO
+ depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
help
This option enables a debugging interface which allows gdb to debug
the kernel without needing to actually attach to kernel threads.
@@ -16,7 +16,7 @@
config GPROF
bool "Enable gprof support"
- depends on DEBUG_INFO
+ depends on DEBUG_INFO && MODE_SKAS
help
This allows profiling of a User-Mode Linux kernel with the gprof
utility.
@@ -29,7 +29,7 @@
config GCOV
bool "Enable gcov support"
- depends on DEBUG_INFO
+ depends on DEBUG_INFO && MODE_SKAS
help
This option allows developers to retrieve coverage data from a UML
session.
diff -Nru a/lib/Kconfig.debug b/lib/Kconfig.debug
--- a/lib/Kconfig.debug 2005-03-28 21:30:54 -08:00
+++ b/lib/Kconfig.debug 2005-03-28 21:30:54 -08:00
@@ -17,7 +17,7 @@
config MAGIC_SYSRQ
bool "Magic SysRq key"
- depends on DEBUG_KERNEL
+ depends on DEBUG_KERNEL && !UML
help
If you say Y here, you will have some control over the system even
if the system crashes for example during kernel debugging (e.g., you
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html