summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/pgd.c
diff options
context:
space:
mode:
authorAndrey Ryabinin <ryabinin.a.a@gmail.com>2015-10-12 17:52:57 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-12 18:46:30 +0200
commitfd2203dd3556f6553231fa026060793e67a25ce6 (patch)
treede5a175a5ca22a6af310409ece99370601fc930b /arch/arm64/mm/pgd.c
parentarm64: atomics: implement native {relaxed, acquire, release} atomics (diff)
downloadlinux-fd2203dd3556f6553231fa026060793e67a25ce6.tar.xz
linux-fd2203dd3556f6553231fa026060793e67a25ce6.zip
arm64: move PGD_SIZE definition to pgalloc.h
This will be used by KASAN latter. Signed-off-by: Andrey Ryabinin <ryabinin.a.a@gmail.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/pgd.c')
-rw-r--r--arch/arm64/mm/pgd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/mm/pgd.c b/arch/arm64/mm/pgd.c
index 71ca104f97bd..cb3ba1b812e7 100644
--- a/arch/arm64/mm/pgd.c
+++ b/arch/arm64/mm/pgd.c
@@ -28,8 +28,6 @@
#include "mm.h"
-#define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
-
static struct kmem_cache *pgd_cache;
pgd_t *pgd_alloc(struct mm_struct *mm)