arm64: kaslr: add kaslr_early_init() declaration
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 16:06:39 +0000 (18:06 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 May 2023 16:44:02 +0000 (17:44 +0100)
commita7f5cb606e9993daf2d129efc5e3b6ca46ad9227
tree548236f48add1999cefac32161d4bbfff42dc4a7
parent1a1183938946fc1e06425d830a85e5aad63c049d
arm64: kaslr: add kaslr_early_init() declaration

kaslr_early_init() is called from assembler code and does not
need a declaration to work, but adding one anyway shuts up
this W=1 warning:

arch/arm64/kernel/pi/kaslr_early.c:88:16: error: no previous prototype for 'kaslr_early_init' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230516160642.523862-13-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/archrandom.h