arm64: Remove duplicate (SWAPPER|IDMAP)_DIR_SIZE definitions
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Jul 2014 14:46:02 +0000 (15:46 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 22 Jul 2014 23:37:11 +0000 (00:37 +0100)
Just keep the asm/page.h definition as this is included in vmlinux.lds.S
as well.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
(cherry picked from commit b2f8c07bcb7d1a3575f41444d2d8048d0c922762)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/pgtable.h

index b3f6193036a862b75742bc7de8df13b8065e0190..d786b8940bbecaf271e88a3ae069b033c2daafc1 100644 (file)
@@ -376,9 +376,6 @@ static inline pte_t pte_modify(pte_t pte, 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)