/* Register fully available low RAM pages with the bootmem allocator.  */
static void __init register_bootmem_low_pages(void)
/* Register fully available low RAM pages with the bootmem allocator.  */
static void __init register_bootmem_low_pages(void)
{
	unsigned long curr_pfn, last_pfn, pages;
	curr_pfn = PFN_UP(__MEMORY_START);
	last_pfn = PFN_DOWN(__pa(memory_end));
	if (last_pfn > max_low_pfn)
		last_pfn = max_low_pfn;
	pages = last_pfn - curr_pfn;
	free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages));
}