projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5de5b99
)
target/s390x: Set instance_align on S390CPU TypeInfo
author
Richard Henderson
<richard.henderson@linaro.org>
Wed, 16 Sep 2020 00:46:38 +0000
(17:46 -0700)
committer
Eduardo Habkost
<ehabkost@redhat.com>
Fri, 18 Sep 2020 17:59:51 +0000
(13:59 -0400)
Fix alignment of CPUS390XState.vregs.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <
20200916004638
.
2444147
-7-richard.henderson@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/s390x/cpu.c
patch
|
blob
|
history
diff --git
a/target/s390x/cpu.c
b/target/s390x/cpu.c
index 749cd548f0f3f94f546fec11414dc56fa46d794f..e350edc9f53af75c275d1033dfc4a78b29888911 100644
(file)
--- a/
target/s390x/cpu.c
+++ b/
target/s390x/cpu.c
@@
-517,6
+517,7
@@
static const TypeInfo s390_cpu_type_info = {
.name = TYPE_S390_CPU,
.parent = TYPE_CPU,
.instance_size = sizeof(S390CPU),
+ .instance_align = __alignof__(S390CPU),
.instance_init = s390_cpu_initfn,
.instance_finalize = s390_cpu_finalize,
.abstract = true,