arm64: pi: add early_map_kernel prototype
PATCH 1/1 arm64: pi: add early_map_kernel prototype
From: Arnd Bergmann <[email protected]>
The newly added function only has a caller from assembler code, so it works without an extern prototype, but we get a warning if it's missing:
arch/arm64/kernel/pi/map_kernel.c:224:24: error: no previous prototype for 'early_map_kernel' [-Werror=missing-prototypes]
--- arch/arm64/kernel/pi/pi.h | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/kernel/pi/pi.h +2 -0
@@ -28,3 +28,5 @@ void map_range(u64 *pgd, u64 start, u64 end, u64 pa, pgprot_t prot, int level, pte_t *tbl, bool may_use_cont, u64 va_offset); asmlinkage u64 create_init_idmap(pgd_t *pgd, pteval_t clrmask); + +asmlinkage void early_map_kernel(u64 boot_status, void *fdt);
Signature · 1 line
2.39.2
Quoted 6 lines · Arnd Bergmann
The newly added function only has a caller from assembler code, so it works without an extern prototype, but we get a warning if it's missing:
arch/arm64/kernel/pi/map_kernel.c:224:24: error: no previous prototype for 'early_map_kernel' [-Werror=missing-prototypes]
Applied to arm64 (for-next/lpa2-stage1), thanks!
[1/1] arm64: pi: add early_map_kernel prototype
https://git.kernel.org/arm64/c/8d05e7b6eec9
We are still checking whether the recent CKI reports are caused by this branch, so I may drop it before the merging window (fully or partially).
Signature · 1 line
Catalin