Re: [PATCH] ARC: mm: remove __ARCH_USE_5LEVEL_HACK

From: Kirill A. Shutemov
Date: Tue Oct 08 2019 - 19:42:27 EST


On Tue, Oct 08, 2019 at 09:38:36PM +0000, Vineet Gupta wrote:
> Add the intermediate p4d accessors to make it 5 level compliant.
>
> Thi sis non-functional change anyways since ARC has software page walker
^
Typo.
> with 2 lookup levels (pgd -> pte)
>
> Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>
> ---
> arch/arc/include/asm/pgtable.h | 1 -
> arch/arc/mm/fault.c | 10 ++++++++--
> 2 files changed, 8 insertions(+), 3 deletions(-)

Have you tested it with CONFIG_HIGHMEM=y? alloc_kmap_pgtable() has to be
converted too.

--
Kirill A. Shutemov