KVM: MIPS: Fix a build error for !CPU_LOONGSON64
authorHuacai Chen <chenhc@lemote.com>
Mon, 15 Jun 2020 06:56:55 +0000 (14:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Jun 2020 09:24:30 +0000 (05:24 -0400)
commit0ae705f3d2b22d9d762f67fd49aa6c290987c6a3
tree316a7ae5671163e1b7b46ac5c6180795de6ebf90
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
KVM: MIPS: Fix a build error for !CPU_LOONGSON64

During the KVM merging progress, a CONFIG_CPU_LOONGSON64 guard in commit
7f2a83f1c2a941ebfee53 ("KVM: MIPS: Add CPUCFG emulation for Loongson-3")
is missing by accident. So add it to avoid building error.

Fixes: 7f2a83f1c2a941ebfee53 ("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>
arch/mips/kvm/mips.c