]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCG
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 Nov 2023 11:37:45 +0000 (12:37 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (13:08 +0100)
commit1663e886cb3b609aed05b92c97d24bc6e66110f9
tree284505b34e15e07cb99b9b66b67472311c477902
parent6d3910c9dbad5ff47c43214397f7afef9645ceb7
target/s390x/cpu: Restrict cpu_get_tb_cpu_state() definition to TCG

cpu_get_tb_cpu_state() is TCG specific. Another accelerator
calling it would be a bug, so restrict the definition to TCG,
along with "tcg_s390x.h" header inclusion.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231106114500.5269-4-philmd@linaro.org>
target/s390x/cpu.h