mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +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>
12 lines
282 B
C
12 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
|