crash: split vmcoreinfo exporting code out from crash_core.c
[sfrench/cifs-2.6.git] / kernel / printk / printk.c
index f2444b581e16c3c3b4ef955ab89c2a0278436f7b..7d74b000b43a9bd13db2b7b5c19d69bc5b7b2442 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/security.h>
 #include <linux/memblock.h>
 #include <linux/syscalls.h>
-#include <linux/crash_core.h>
+#include <linux/vmcore_info.h>
 #include <linux/ratelimit.h>
 #include <linux/kmsg_dump.h>
 #include <linux/syslog.h>
@@ -951,7 +951,7 @@ const struct file_operations kmsg_fops = {
        .release = devkmsg_release,
 };
 
-#ifdef CONFIG_CRASH_CORE
+#ifdef CONFIG_VMCORE_INFO
 /*
  * This appends the listed symbols to /proc/vmcore
  *