kexec: crash: don't save swapper_pg_dir for !CONFIG_MMU configurations
[linux-flexiantxendom0-3.2.10.git] / kernel / kexec.c
index a6a675c..769e347 100644 (file)
@@ -1462,7 +1462,9 @@ static int __init crash_save_vmcoreinfo_init(void)
 
        VMCOREINFO_SYMBOL(init_uts_ns);
        VMCOREINFO_SYMBOL(node_online_map);
+#ifdef CONFIG_MMU
        VMCOREINFO_SYMBOL(swapper_pg_dir);
+#endif
        VMCOREINFO_SYMBOL(_stext);
        VMCOREINFO_SYMBOL(vmlist);