[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] i386 linux: adjust kexec reservation


Comparing arch/i386/kernel/setup{,-xen}.c, it seems like the place reserve_bootmem() is currently called in the Xen
kernel is the result of a mis-merge. Jan
Index: head-2006-04-05/arch/i386/kernel/setup-xen.c
===================================================================
--- head-2006-04-05.orig/arch/i386/kernel/setup-xen.c	2006-04-06 13:57:12.000000000 +0200
+++ head-2006-04-05/arch/i386/kernel/setup-xen.c	2006-04-06 14:02:35.000000000 +0200
@@ -1317,6 +1317,11 @@ void __init setup_bootmem_allocator(void
 		}
 	}
 #endif
+#ifdef CONFIG_KEXEC
+	if (crashk_res.start != crashk_res.end)
+		reserve_bootmem(crashk_res.start,
+			crashk_res.end - crashk_res.start + 1);
+#endif
 
 	if (!xen_feature(XENFEAT_auto_translated_physmap))
 		phys_to_machine_mapping =
@@ -1436,11 +1441,6 @@ legacy_init_iomem_resources(struct resou
 		}
 	}
 #endif
-#ifdef CONFIG_KEXEC
-	if (crashk_res.start != crashk_res.end)
-		reserve_bootmem(crashk_res.start,
-			crashk_res.end - crashk_res.start + 1);
-#endif
 }
 
 /*
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


This mailing list archive is a service of Copilotco.