Skip to contentSkip to conversation

another pmem variant V2

DISCUSSION Christoph Hellwig 1 participant 1 message Mar 26, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

And here's the patch, sorry:

arch/x86/kernel/e820.c +1 -1
index 4bd525a..e7bf89e 100644
@@ -346,7 +346,7 @@ int __init sanitize_e820_map(struct e820entry *biosmap, int max_nr_map,
 		 * continue building up new bios map based on this
 		 * information
 		 */
-		if (current_type != last_type)	{
+		if (current_type != last_type || current_type == E820_PRAM) {
 			if (last_type != 0)	 {
 				new_bios[new_bios_entry].size =
 					change_point[chgidx]->addr - last_addr;