Commit 44ff44ca authored by Shameer Kolothum's avatar Shameer Kolothum Committed by Oliver Upton
Browse files

smccc: kvm_guest: Fix kernel builds for 32 bit arm



The paravirtual implementation ID stuffs is 64-bit only and broke 32bit
arm builds. Slap an ifdef bandaid on the situation to get things rolling
again.

Signed-off-by: default avatarShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
parent f6965665
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ bool kvm_arm_hyp_service_available(u32 func_id)
}
EXPORT_SYMBOL_GPL(kvm_arm_hyp_service_available);

#ifdef CONFIG_ARM64
void  __init kvm_arm_target_impl_cpu_init(void)
{
	int i;
@@ -115,3 +116,4 @@ void __init kvm_arm_target_impl_cpu_init(void)
mem_free:
	memblock_free(target, sizeof(*target) * max_cpus);
}
#endif