X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fe820.c;h=90e8dde3ec26b1d97d10309d2d796489078b5cdf;hb=0ea67fae9e80bfd69713b51ba3fa53879be5383b;hp=b85fe5f91c3fe4901cf766aa1f6996710f844b0d;hpb=021723e6c5a5e7b50eb68f9812418406de9860b2;p=cascardo%2Flinux.git diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index b85fe5f91c3f..90e8dde3ec26 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -350,7 +350,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;