Re: [PATCH] arm64/mm: Drop page-def.h

From: Will Deacon
Date: Fri Aug 20 2021 - 04:31:38 EST


On Fri, Aug 20, 2021 at 12:05:31PM +0530, Anshuman Khandual wrote:
> PAGE_SHIFT (PAGE_SIZE and PAGE_MASK) which is derived from ARM64_PAGE_SHIFT
> should be moved into pgtable-hwdef.h instead, and subsequently page-def.h
> can be just dropped off completely.

According to who?

Every other architecture defines PAGE_SHIFT in page.h, so if you're moving
things around then that sounds like a better choice.

Will