Merge tag 'v4.16-rc7' into x86/mm, to fix up conflict
authorIngo Molnar <mingo@kernel.org>
Tue, 27 Mar 2018 06:43:39 +0000 (08:43 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 27 Mar 2018 06:43:39 +0000 (08:43 +0200)
 Conflicts:
arch/x86/mm/init_64.c

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
arch/x86/boot/compressed/misc.c
arch/x86/entry/entry_64.S
arch/x86/kernel/cpu/intel.c
arch/x86/mm/init_64.c
arch/x86/platform/efi/efi_64.c

Simple merge
Simple merge
Simple merge
@@@ -1099,8 -1089,8 +1095,8 @@@ remove_p4d_table(p4d_t *p4d_start, unsi
                 * 5-level case we should free them. This code will have to change
                 * to adapt for boot-time switching between 4 and 5 level page tables.
                 */
 -              if (CONFIG_PGTABLE_LEVELS == 5)
 +              if (pgtable_l5_enabled)
-                       free_pud_table(pud_base, p4d, altmap);
+                       free_pud_table(pud_base, p4d);
        }
  
        if (direct)
@@@ -227,9 -225,9 +227,9 @@@ int __init efi_alloc_page_tables(void
  
        pud = pud_alloc(&init_mm, p4d, EFI_VA_END);
        if (!pud) {
 -              if (CONFIG_PGTABLE_LEVELS > 4)
 +              if (pgtable_l5_enabled)
                        free_page((unsigned long) pgd_page_vaddr(*pgd));
-               free_page((unsigned long)efi_pgd);
+               free_pages((unsigned long)efi_pgd, PGD_ALLOCATION_ORDER);
                return -ENOMEM;
        }