]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.c
target/arm: Restrict arm_cpu_exec_interrupt() to TCG accelerator
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 14 Dec 2022 14:27:14 +0000 (14:27 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Dec 2022 17:37:48 +0000 (17:37 +0000)
commit9e406eea309bbe44c7fb17f6af112d2b756854ad
tree609eba5e133db980f2bfb02dfc95e9ddf3fd5691
parent3d81e8cf0c81b8b63d7d7056c450dd94bfbfd038
target/arm: Restrict arm_cpu_exec_interrupt() to TCG accelerator

When building with --disable-tcg on Darwin we get:

  target/arm/cpu.c:725:16: error: incomplete definition of type 'struct TCGCPUOps'
    cc->tcg_ops->do_interrupt(cs);
    ~~~~~~~~~~~^

Commit 083afd18a9 ("target/arm: Restrict cpu_exec_interrupt()
handler to sysemu") limited this block to system emulation,
but neglected to also limit it to TCG.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-id: 20221209110823.59495-1-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c