Skip to content
Snippets Groups Projects
Commit f62192a2 authored by Richard Henderson's avatar Richard Henderson Committed by Eduardo Habkost
Browse files

target/s390x: Set instance_align on S390CPU TypeInfo


Fix alignment of CPUS390XState.vregs.

Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20200916004638.2444147-7-richard.henderson@linaro.org>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 5de5b99b
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment