diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-13 15:06:21 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-03 08:01:02 -0700 |
commit | f669c99241adfcd4186aebff6990cefdac25125b (patch) | |
tree | 74ebcf6ac99013e14557314eabd5077bc296f42a /target/alpha/cpu.c | |
parent | 61cd357698231386f482f4257fc9fc1d66c750d8 (diff) | |
download | qemu-f669c99241adfcd4186aebff6990cefdac25125b.zip qemu-f669c99241adfcd4186aebff6990cefdac25125b.tar.gz qemu-f669c99241adfcd4186aebff6990cefdac25125b.tar.bz2 |
target/*: Add instance_align to all cpu base classes
The omission of alignment has technically been wrong since
269bd5d8f61, where QEMU_ALIGNED was added to CPUTLBDescFast.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/cpu.c')
-rw-r--r-- | target/alpha/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index 270ae78..e2156fc 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -286,6 +286,7 @@ static const TypeInfo alpha_cpu_type_infos[] = { .name = TYPE_ALPHA_CPU, .parent = TYPE_CPU, .instance_size = sizeof(AlphaCPU), + .instance_align = __alignof(AlphaCPU), .instance_init = alpha_cpu_initfn, .abstract = true, .class_size = sizeof(AlphaCPUClass), |