summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-01-14 14:22:24 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2019-01-21 17:31:15 +0000
commit83504032e6ddcc8b0942aa24dfad5db849090c9f (patch)
tree321a061171fadab6e59efd87802d8bb98d1598fb /arch/arm64/kernel
parent83a680dd97ad2d1ed7a6355aa5baddbc0c8ae2ae (diff)
downloadlinux-0-day-83504032e6ddcc8b0942aa24dfad5db849090c9f.tar.gz
linux-0-day-83504032e6ddcc8b0942aa24dfad5db849090c9f.tar.xz
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/kernel')
-rw-r--r--arch/arm64/kernel/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 4b0e1231625cd..71f5fbb126088 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -58,7 +58,6 @@
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/traps.h>
-#include <asm/memblock.h>
#include <asm/efi.h>
#include <asm/xen/hypervisor.h>
#include <asm/mmu_context.h>