summaryrefslogtreecommitdiffstats
path: root/target-s390x/machine.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-12-08 09:22:52 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:29:55 -0600
commitc5879a7e9253f07198bcfe19979b2bdfb31a05cd (patch)
tree89c2ca38ca646646a202808e04a456babdf93902 /target-s390x/machine.c
parent3d0381c4006b0531d24df50f268909e8d357b1d7 (diff)
downloadhqemu-c5879a7e9253f07198bcfe19979b2bdfb31a05cd.zip
hqemu-c5879a7e9253f07198bcfe19979b2bdfb31a05cd.tar.gz
s390x/machine: make addon register fields static
No need to have them as global symbol. Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/machine.c')
-rw-r--r--target-s390x/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-s390x/machine.c b/target-s390x/machine.c
index b76fb08..96ad0a9 100644
--- a/target-s390x/machine.c
+++ b/target-s390x/machine.c
@@ -48,7 +48,7 @@ static inline bool fpu_needed(void *opaque)
return true;
}
-const VMStateDescription vmstate_fpu = {
+static const VMStateDescription vmstate_fpu = {
.name = "cpu/fpu",
.version_id = 1,
.minimum_version_id = 1,
@@ -75,7 +75,7 @@ const VMStateDescription vmstate_fpu = {
}
};
-const VMStateDescription vmstate_vregs = {
+static const VMStateDescription vmstate_vregs = {
.name = "cpu/vregs",
.version_id = 1,
.minimum_version_id = 1,
OpenPOWER on IntegriCloud