diff options
author | Will Deacon <will.deacon@arm.com> | 2019-01-14 09:22:24 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-01-21 12:31:15 -0500 |
commit | 83504032e6ddcc8b0942aa24dfad5db849090c9f (patch) | |
tree | 321a061171fadab6e59efd87802d8bb98d1598fb /arch/arm64/mm | |
parent | 83a680dd97ad2d1ed7a6355aa5baddbc0c8ae2ae (diff) |
arm64: Remove asm/memblock.h
The arm64 asm/memblock.h header exists only to provide a function
prototype for arm64_memblock_init(), which is called only from
setup_arch().
Move the declaration into mmu.h, where it can live alongside other
init functions such as paging_init() and bootmem_init() without the
need for its own special header file.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm')
-rw-r--r-- | arch/arm64/mm/mmu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index b6f5aa52ac67..d6b6f1b169bb 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <asm/setup.h> | 42 | #include <asm/setup.h> |
43 | #include <asm/sizes.h> | 43 | #include <asm/sizes.h> |
44 | #include <asm/tlb.h> | 44 | #include <asm/tlb.h> |
45 | #include <asm/memblock.h> | ||
46 | #include <asm/mmu_context.h> | 45 | #include <asm/mmu_context.h> |
47 | #include <asm/ptdump.h> | 46 | #include <asm/ptdump.h> |
48 | #include <asm/tlbflush.h> | 47 | #include <asm/tlbflush.h> |