Merge branch 'for-next/fixes' into for-next/core
authorWill Deacon <will@kernel.org>
Fri, 29 Oct 2021 11:27:53 +0000 (12:27 +0100)
committerWill Deacon <will@kernel.org>
Fri, 29 Oct 2021 11:27:53 +0000 (12:27 +0100)
Merge for-next/fixes to resolve conflicts in arm64_hugetlb_cma_reserve().

* for-next/fixes:
  acpi/arm64: fix next_platform_timer() section mismatch error
  arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE

1  2 
arch/arm64/mm/hugetlbpage.c

@@@ -40,10 -40,11 +40,11 @@@ void __init arm64_hugetlb_cma_reserve(v
  {
        int order;
  
 -#ifdef CONFIG_ARM64_4K_PAGES
 -      order = PUD_SHIFT - PAGE_SHIFT;
 -#else
 -      order = CONT_PMD_SHIFT - PAGE_SHIFT;
 -#endif
 +      if (pud_sect_supported())
 +              order = PUD_SHIFT - PAGE_SHIFT;
 +      else
-               order = CONT_PMD_SHIFT + PMD_SHIFT - PAGE_SHIFT;
++              order = CONT_PMD_SHIFT - PAGE_SHIFT;
++
        /*
         * HugeTLB CMA reservation is required for gigantic
         * huge pages which could not be allocated via the