]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm/cpregs: Include missing 'kvm-consts.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Jan 2024 20:06:28 +0000 (21:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jan 2024 11:30:48 +0000 (11:30 +0000)
commit7f31b2f56b69c9257d13f124485807d380c86e28
tree1b7f0f6770b8248391f35ab721be06f40fb357e1
parent35d44e3f9302fc37b36819b193d35de2118597aa
target/arm/cpregs: Include missing 'kvm-consts.h' header

target/arm/cpregs.h uses the CP_REG_ARCH_* definitions
from "target/arm/kvm-consts.h". Include it in order to
avoid when refactoring unrelated headers:

  target/arm/cpregs.h:191:18: error: use of undeclared identifier 'CP_REG_ARCH_MASK'
      if ((kvmid & CP_REG_ARCH_MASK) == CP_REG_ARM64) {
                   ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240118200643.29037-8-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpregs.h