OSDN Git Service

arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support
[android-x86/kernel.git] / arch / arm / include / asm / kvm_host.h
index d5423ab..9fe1043 100644 (file)
@@ -318,4 +318,10 @@ static inline int kvm_arm_vcpu_arch_has_attr(struct kvm_vcpu *vcpu,
        return -ENXIO;
 }
 
+static inline bool kvm_arm_harden_branch_predictor(void)
+{
+       /* No way to detect it yet, pretend it is not there. */
+       return false;
+}
+
 #endif /* __ARM_KVM_HOST_H__ */