projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac7b406
)
arm64: Remove duplicate (SWAPPER|IDMAP)_DIR_SIZE definitions
author
Catalin Marinas
<catalin.marinas@arm.com>
Tue, 15 Jul 2014 14:46:02 +0000
(15:46 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 17 Jul 2014 15:02:42 +0000
(16:02 +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>
arch/arm64/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/pgtable.h
b/arch/arm64/include/asm/pgtable.h
index e0ccceb317d9b930926c6df41e8b0a43555d776d..d7455fa83bc7aea29ad952a11b8d5704ec3725f8 100644
(file)
--- 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)