]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: VZ: Only include loongson_regs.h for CPU_LOONGSON64
authorHuacai Chen <chenhc@lemote.com>
Sat, 8 Aug 2020 12:50:52 +0000 (20:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 9 Aug 2020 17:24:12 +0000 (13:24 -0400)
commit2b056300ac93a7bfeeac31fb78d7998d5c1a986a
treedd6b57da064a13dd9319d86f5befeeb0adc3a0e4
parent8c98ea28fc1aa579d24fa884d2dbd97a01606b62
MIPS: VZ: Only include loongson_regs.h for CPU_LOONGSON64

Only Loongson64 platform has and needs loongson_regs.h, including it
unconditionally will cause build errors.

Fixes: 6a183ca69906a5ea328a ("KVM: MIPS: Add CPUCFG emulation for Loongson-3")
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Message-Id: <1596891052-24052-1-git-send-email-chenhc@lemote.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/vz.c