Re: [PATCH] x86: merge setup_memory_map with e820
From: H. Peter Anvin
Date: Tue Jun 17 2008 - 12:04:53 EST
Glauber Costa wrote:
+ boot_params.e820_entries = new_nr;
+ if (copy_e820_map(boot_params.e820_map, boot_params.e820_entries) < 0) {
+#ifdef CONFIG_X86_64
+ early_panic("Cannot find a valid memory map");
+#else
Can't this be made dependant on HIGHMEM instead of X86_64? It seems
high-memory dependant anyway. Also, are you sure
this code that maps into himem would work with HIGHMEM disabled anyway?
Uhm... x86-64 and HIGHMEM are mutually exclusive.
Either way, it shouldn't be dependent on anything; there is no reason
why the #else clause can't be applied to both.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/