[PATCH v7 07/11] arm64: mm: Implement 4 levels of translation tables

Jungseok Lee jungseoklee85 at gmail.com
Thu Jul 17 08:04:07 PDT 2014


On Wed, 16 Jul 2014 20:09:48 +0100, Catalin Marinas wrote:

[ ... ]

> diff --git a/arch/arm64/mm/ioremap.c b/arch/arm64/mm/ioremap.c
> index 69000efa015e..fa324bd5a5c4 100644
> --- a/arch/arm64/mm/ioremap.c
> +++ b/arch/arm64/mm/ioremap.c
> @@ -104,9 +104,12 @@ void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size)
> EXPORT_SYMBOL(ioremap_cache);
> 
> static pte_t bm_pte[PTRS_PER_PTE] __page_aligned_bss;
> -#ifndef CONFIG_ARM64_64K_PAGES
> +#if CONFIG_ARM64_PGTABLE_LEVELS > 2

In this patch frame, it causes a compile error since [08/11] patch introduces
CONFIG_ARM64_PGTABLE_LEVELS. Please ignore my comment if it does not matter.

> static pte_t bm_pmd[PTRS_PER_PMD] __page_aligned_bss;
> #endif
> +#if CONFIG_ARM64_PGTABLE_LEVELS > 3

Ditto

- Jungseok Lee


More information about the linux-arm-kernel mailing list