OSDN Git Service

target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 5 Nov 2023 18:15:49 +0000 (19:15 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Nov 2023 12:08:48 +0000 (13:08 +0100)
commit571568a173dfae14c27ef0db9fd2f7b77f0e4bad
tree0e4091f34868662405adc92f429b8c6c295bebbd
parent1663e886cb3b609aed05b92c97d24bc6e66110f9
target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

"target/s390x/cpu-qom.h" has to be target-agnostic. However, it
currently declares CPUS390XState, which is target-specific.
Move that declaration to "cpu.h".

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