--- zzzz-none-000/linux-2.6.19.2/arch/x86_64/kernel/e820.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5504/linux-2.6.19.2/arch/x86_64/kernel/e820.c 2007-01-11 07:38:19.000000000 +0000 @@ -278,7 +278,7 @@ >> PAGE_SHIFT; /* Skip map entries smaller than a page */ - if (ei_startpfn >= ei_endpfn) + if (ei_startpfn > ei_endpfn) continue; /* Check if end_pfn_map should be updated */ @@ -594,9 +594,7 @@ * size before original memory map is * reset. */ - e820_register_active_regions(0, 0, -1UL); saved_max_pfn = e820_end_of_ram(); - remove_all_active_ranges(); #endif end_pfn_map = 0; e820.nr_map = 0;