diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2016-09-05 19:30:22 +0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-06 19:09:38 +0100 |
commit | dae8c235d9a21a564793ea9fe716233e11d30e21 (patch) | |
tree | e2e46d253d4911af43cfd1d9b75a95ef3f78b395 /arch/arm64/mm/pgd.c | |
parent | 282b87963556a971f9acbe3d430991b80480541a (diff) |
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.c | 2 |
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) |