lkml.org 
[lkml]   [2021]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
On Mon, Jun 14, 2021 at 03:40:11PM +0530, Anshuman Khandual wrote:
> The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had
> dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up.
>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
> ---
> This applies on v5.13-rc6.

Dong Aisheng had a patch to do this, along with a few other cleanup
patches:

https://lore.kernel.org/r/20210518101405.1048860-1-aisheng.dong@nxp.com

Thanks,
Mark.

>
> arch/arm64/include/asm/kernel-pgtable.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h
> index a848da2b4d90..1260187adb31 100644
> --- a/arch/arm64/include/asm/kernel-pgtable.h
> +++ b/arch/arm64/include/asm/kernel-pgtable.h
> @@ -100,9 +100,6 @@
> #define SWAPPER_TABLE_SHIFT PMD_SHIFT
> #endif
>
> -/* The size of the initial kernel direct mapping */
> -#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT)
> -
> /*
> * Initial memory map attributes.
> */
> --
> 2.20.1
>

\
 
 \ /
  Last update: 2021-06-14 16:08    [W:0.061 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site