]> Pileus Git - ~andy/linux/blobdiff - lib/Kconfig.debug
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[~andy/linux] / lib / Kconfig.debug
index ac23847ce0e3cbcb3f006805dbd6d65a3966d399..299f7f3b5b0871fdd332a647f83ea54d2ddf059b 100644 (file)
@@ -141,7 +141,7 @@ config DEBUG_IOREMAP
 
 config DEBUG_FS
        bool "Debug Filesystem"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SYSFS
        help
          debugfs is a virtual file system that kernel developers use to put
          debugging files into.  Enable this option to be able to read and
@@ -151,7 +151,8 @@ config DEBUG_FS
 
 config FRAME_POINTER
        bool "Compile the kernel with frame pointers"
-       depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV)
+       depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV || UML)
+       default y if DEBUG_INFO && UML
        help
          If you say Y here the resulting kernel image will be slightly larger
          and slower, but it will give very useful debugging information.