mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 12:45:08 +00:00
KVM: MIPS: Fix a build error for !CPU_LOONGSON64
During the KVM merging progress, a CONFIG_CPU_LOONGSON64 guard in commit7f2a83f1c2
("KVM: MIPS: Add CPUCFG emulation for Loongson-3") is missing by accident. So add it to avoid building error. Fixes:7f2a83f1c2
("KVM: MIPS: Add CPUCFG emulation for Loongson-3") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Huacai Chen <chenhc@lemote.com> Message-Id: <1592204215-28704-1-git-send-email-chenhc@lemote.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b3a9e3b962
commit
0ae705f3d2
1 changed files with 2 additions and 0 deletions
|
@ -67,7 +67,9 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
|
||||||
VCPU_STAT("vz_ghfc", vz_ghfc_exits),
|
VCPU_STAT("vz_ghfc", vz_ghfc_exits),
|
||||||
VCPU_STAT("vz_gpa", vz_gpa_exits),
|
VCPU_STAT("vz_gpa", vz_gpa_exits),
|
||||||
VCPU_STAT("vz_resvd", vz_resvd_exits),
|
VCPU_STAT("vz_resvd", vz_resvd_exits),
|
||||||
|
#ifdef CONFIG_CPU_LOONGSON64
|
||||||
VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
|
VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
VCPU_STAT("halt_successful_poll", halt_successful_poll),
|
VCPU_STAT("halt_successful_poll", halt_successful_poll),
|
||||||
VCPU_STAT("halt_attempted_poll", halt_attempted_poll),
|
VCPU_STAT("halt_attempted_poll", halt_attempted_poll),
|
||||||
|
|
Loading…
Add table
Reference in a new issue