提交 52c6cfb7 编写于 作者: C Christian Borntraeger 提交者: Cornelia Huck

s390x/machine: make addon register fields static

No need to have them as global symbol.
Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
上级 2f2b0c66
...@@ -48,7 +48,7 @@ static inline bool fpu_needed(void *opaque) ...@@ -48,7 +48,7 @@ static inline bool fpu_needed(void *opaque)
return true; return true;
} }
const VMStateDescription vmstate_fpu = { static const VMStateDescription vmstate_fpu = {
.name = "cpu/fpu", .name = "cpu/fpu",
.version_id = 1, .version_id = 1,
.minimum_version_id = 1, .minimum_version_id = 1,
...@@ -75,7 +75,7 @@ const VMStateDescription vmstate_fpu = { ...@@ -75,7 +75,7 @@ const VMStateDescription vmstate_fpu = {
} }
}; };
const VMStateDescription vmstate_vregs = { static const VMStateDescription vmstate_vregs = {
.name = "cpu/vregs", .name = "cpu/vregs",
.version_id = 1, .version_id = 1,
.minimum_version_id = 1, .minimum_version_id = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册