aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/pgd.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-09-05 19:30:22 +0800
committerWill Deacon <will.deacon@arm.com>2016-09-06 19:09:38 +0100
commitdae8c235d9a21a564793ea9fe716233e11d30e21 (patch)
treee2e46d253d4911af43cfd1d9b75a95ef3f78b395 /arch/arm64/mm/pgd.c
parentdrivers/perf: arm_pmu: Always consider IRQ0 as an error (diff)
downloadlinux-dev-dae8c235d9a21a564793ea9fe716233e11d30e21.tar.xz
linux-dev-dae8c235d9a21a564793ea9fe716233e11d30e21.zip
arm64: mm: drop fixup_init() and mm.h
There is only fixup_init() in mm.h , and it is only called in free_initmem(), so move the codes from fixup_init() into free_initmem(), then drop fixup_init() and mm.h. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Will Deacon <will.deacon@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 ae11d4e03d0e..371c5f03a170 100644
--- a/arch/arm64/mm/pgd.c
+++ b/arch/arm64/mm/pgd.c
@@ -26,8 +26,6 @@
#include <asm/page.h>
#include <asm/tlbflush.h>
-#include "mm.h"
-
static struct kmem_cache *pgd_cache;
pgd_t *pgd_alloc(struct mm_struct *mm)