From: Catalin Marinas Date: Tue, 15 Jul 2014 14:46:02 +0000 (+0100) Subject: arm64: Remove duplicate (SWAPPER|IDMAP)_DIR_SIZE definitions X-Git-Tag: v3.17-rc1~140^2~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b2f8c07bcb7d1a3575f41444d2d8048d0c922762;p=~emulex%2Finfiniband.git 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: Catalin Marinas Acked-by: Mark Rutland --- diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index e0ccceb317d..d7455fa83bc 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -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 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: * bits 0-1: present (must be zero)