1 Commits

Author SHA1 Message Date
Chen Qun
1c362cdbe3 arm/cpu: Fixed function undefined error at compile time under arm
Add the compilation option CONFIG_KVM while using
    "kvm_arm_cpu_feature_supported" and "kvm_arm_get_one_reg".
    In arm, the default value of CONFIG_KVM is no.

    While the target is arm, the compilation fails because
    the function "kvm_arm_cpu_feature_supporte" is declared
    or the function "kvm_arm_get_one_reg" is not defined.

Signed-off-by: zhanghao1 <zhanghao1@kylinos.cn>
2021-05-11 21:27:11 +08:00