search for: btmap_begin_pmd_idx

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

2011 Jul 18
2
[PATCH tip/x86/mm] x86_32: calculate additional memory needed by the fixmap
...3,6 +33,9 @@ static void __init find_early_table_space(unsigned long start, { unsigned long pmds = 0, ptes = 0, tables = 0, good_end = end, pud_mapped = 0, pmd_mapped = 0, size = end - start; + int kmap_begin_pmd_idx, kmap_end_pmd_idx; + int fixmap_begin_pmd_idx, fixmap_end_pmd_idx; + int btmap_begin_pmd_idx; phys_addr_t base; pud_mapped = DIV_ROUND_UP(PFN_PHYS(max_pfn_mapped), @@ -92,6 +95,50 @@ static void __init find_early_table_space(unsigned long start, } else ptes = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; +#ifdef CONFIG_X86_32 + fixmap_begin_pmd_idx = __fix_to_virt(__end_of_fixed...