]> err.no Git - linux-2.6/blobdiff - arch/ia64/mm/contig.c
[IA64] CONFIG_KEXEC/CONFIG_CRASH_DUMP permutations
[linux-2.6] / arch / ia64 / mm / contig.c
index 82deaa3a7c4806adecb70daacdbfc7d2997105e0..fd103886bb0a9462e6b07abb5020d7b5b1521d84 100644 (file)
@@ -174,6 +174,12 @@ find_memory (void)
        reserve_bootmem(bootmap_start, bootmap_size);
 
        find_initrd();
+
+#ifdef CONFIG_CRASH_DUMP
+       /* If we are doing a crash dump, we still need to know the real mem
+        * size before original memory map is * reset. */
+       saved_max_pfn = max_pfn;
+#endif
 }
 
 #ifdef CONFIG_SMP