Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2f8c07b authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Remove duplicate (SWAPPER|IDMAP)_DIR_SIZE definitions



Just keep the asm/page.h definition as this is included in vmlinux.lds.S
as well.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
parent ac7b406c
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -383,9 +383,6 @@ static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
extern pgd_t idmap_pg_dir[PTRS_PER_PGD];
extern pgd_t idmap_pg_dir[PTRS_PER_PGD];


#define SWAPPER_DIR_SIZE	(3 * PAGE_SIZE)
#define IDMAP_DIR_SIZE		(2 * PAGE_SIZE)

/*
/*
 * Encode and decode a swap entry:
 * Encode and decode a swap entry:
 *	bits 0-1:	present (must be zero)
 *	bits 0-1:	present (must be zero)