arm64: Remove asm/memblock.h
authorWill Deacon <will.deacon@arm.com>
Mon, 14 Jan 2019 14:22:24 +0000 (14:22 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Jan 2019 17:31:15 +0000 (17:31 +0000)
commit83504032e6ddcc8b0942aa24dfad5db849090c9f
tree321a061171fadab6e59efd87802d8bb98d1598fb
parent83a680dd97ad2d1ed7a6355aa5baddbc0c8ae2ae
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>
arch/arm64/include/asm/memblock.h [deleted file]
arch/arm64/include/asm/mmu.h
arch/arm64/kernel/setup.c
arch/arm64/mm/mmu.c