diff options
author | Will Deacon <will.deacon@arm.com> | 2019-01-14 15:22:24 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-01-21 18:31:15 +0100 |
commit | 83504032e6ddcc8b0942aa24dfad5db849090c9f (patch) | |
tree | 321a061171fadab6e59efd87802d8bb98d1598fb /arch/arm64/include/asm/mmu.h | |
parent | arm64: asm-offsets: remove unused offsets (diff) | |
download | linux-83504032e6ddcc8b0942aa24dfad5db849090c9f.tar.xz linux-83504032e6ddcc8b0942aa24dfad5db849090c9f.zip |
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/include/asm/mmu.h')
-rw-r--r-- | arch/arm64/include/asm/mmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index 3e8063f4f9d3..67ef25d037ea 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -129,6 +129,7 @@ static inline struct bp_hardening_data *arm64_get_bp_hardening_data(void) static inline void arm64_apply_bp_hardening(void) { } #endif /* CONFIG_HARDEN_BRANCH_PREDICTOR */ +extern void arm64_memblock_init(void); extern void paging_init(void); extern void bootmem_init(void); extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); |