mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-11 20:39:55 +00:00
arm64 will soon require its own callback to initialise services that are only available on this architecture. Introduce a hook that can be overloaded by the architecture. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240830130150.8568-2-will@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
13 lines
282 B
C
13 lines
282 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_ARM_HYPERVISOR_H
|
|
#define _ASM_ARM_HYPERVISOR_H
|
|
|
|
#include <asm/xen/hypervisor.h>
|
|
|
|
void kvm_init_hyp_services(void);
|
|
bool kvm_arm_hyp_service_available(u32 func_id);
|
|
|
|
static inline void kvm_arch_init_hyp_services(void) { };
|
|
|
|
#endif
|