2022-11-16 08:53:36

by Anshuman Khandual

[permalink] [raw]
Subject: [PATCH] arm64/mm: Drop idmap_pg_end[] declaration

idmap_pg_end[] is not used anywhere, hence just drop its declaration.

Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
---
This applies on v6.1-rc5

arch/arm64/include/asm/pgtable.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
index fe76e5823d91..d80622ed5b75 100644
--- a/arch/arm64/include/asm/pgtable.h
+++ b/arch/arm64/include/asm/pgtable.h
@@ -609,7 +609,6 @@ extern pgd_t init_pg_dir[PTRS_PER_PGD];
extern pgd_t init_pg_end[];
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
-extern pgd_t idmap_pg_end[];
extern pgd_t tramp_pg_dir[PTRS_PER_PGD];
extern pgd_t reserved_pg_dir[PTRS_PER_PGD];

--
2.25.1



2022-11-18 19:45:19

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH] arm64/mm: Drop idmap_pg_end[] declaration

On Wed, 16 Nov 2022 14:13:02 +0530, Anshuman Khandual wrote:
> idmap_pg_end[] is not used anywhere, hence just drop its declaration.
>
>

Applied to arm64 (for-next/trivial), thanks!

[1/1] arm64/mm: Drop idmap_pg_end[] declaration
https://git.kernel.org/arm64/c/d3d10f0d370c

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev