kernel: enable CRASH_DUMP on supported platforms
[openwrt/openwrt.git] / config / Config-kernel.in
index 3c69c8648b61c5c6e0d74f6deefca0ee4c7893b9..ebc8e1f05b9bb1d94267ad174fb2baa6e0a8a8c3 100644 (file)
@@ -26,7 +26,7 @@ config KERNEL_PRINTK
 
 config KERNEL_CRASHLOG
        bool "Crash logging"
-       depends on !(arm || powerpc || sparc || TARGET_uml)
+       depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64)
        default y
 
 config KERNEL_SWAP
@@ -170,10 +170,6 @@ config KERNEL_AIO
        bool "Compile the kernel with asynchronous IO support"
        default n
 
-config KERNEL_DIRECT_IO
-       bool "Compile the kernel with direct IO support"
-       default n
-
 config KERNEL_FHANDLE
        bool "Compile the kernel with support for fhandle syscalls"
        default n
@@ -235,6 +231,16 @@ config KERNEL_RELAY
 config KERNEL_KEXEC
        bool "Enable kexec support"
 
+config KERNEL_PROC_VMCORE
+       bool
+
+config KERNEL_CRASH_DUMP
+       depends on i386 || x86_64 || arm || armeb
+       select KERNEL_KEXEC
+       select KERNEL_PROC_VMCORE
+       bool "Enable support for kexec crashdump"
+       default y
+
 config USE_RFKILL
        bool "Enable rfkill support"
        default RFKILL_SUPPORT
@@ -745,3 +751,17 @@ menu "Filesystem ACL and attr support options"
                default y if USE_FS_ACL_ATTR
 
 endmenu
+
+config KERNEL_DEVMEM
+       bool "/dev/mem virtual device support"
+       help
+         Say Y here if you want to support the /dev/mem device.
+         The /dev/mem device is used to access areas of physical
+         memory.
+
+config KERNEL_DEVKMEM
+       bool "/dev/kmem virtual device support"
+       help
+         Say Y here if you want to support the /dev/kmem device. The
+         /dev/kmem device is rarely used, but can be used for certain
+         kind of kernel debugging operations.