]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 6 Jul 2023 16:36:10 +0000 (18:36 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 7 Jul 2023 12:43:01 +0000 (14:43 +0200)
commit3a6dbb691782e88e07e5c70b327495dbd58a2e7f
tree618e0c9aa8f5117b5645dbe776ff06dde63a9212
parent826eeaf68b03e5b96bdbc11e3e796f8b562bc0e3
MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled

Commit e4de20576986 ("MIPS: KVM: Fix NULL pointer dereference") missed
converting one place accessing cop0 registers, which results in a build
error, if KVM_MIPS_DEBUG_COP0_COUNTERS is enabled.

Fixes: e4de20576986 ("MIPS: KVM: Fix NULL pointer dereference")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
arch/mips/kvm/stats.c