search for: table_end

Displaying 1 result from an estimated 1 matches for "table_end".

2007 Feb 14
2
[PATCH 8/8] 2.6.17: scan DMI early
...t-xen.c 2007-02-08 17:07:13.000000000 +0100 +++ head-2007-02-08/arch/x86_64/mm/init-xen.c 2007-02-08 17:09:47.000000000 +0100 @@ -208,7 +208,11 @@ static __init void *spp_getpage(void) void *ptr; if (after_bootmem) ptr = (void *) get_zeroed_page(GFP_ATOMIC); - else + else if (start_pfn < table_end) { + ptr = __va(start_pfn << PAGE_SHIFT); + start_pfn++; + memset(ptr, 0, PAGE_SIZE); + } else ptr = alloc_bootmem_pages(PAGE_SIZE); if (!ptr || ((unsigned long)ptr & ~PAGE_MASK)) panic("set_pte_phys: cannot allocate page data %s\n", after_bootmem?"after bootmem&...