[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 04/24] target/*: Use __alignof not __alignof__
From: |
Richard Henderson |
Subject: |
[PATCH v2 04/24] target/*: Use __alignof not __alignof__ |
Date: |
Wed, 13 Sep 2023 19:44:15 -0700 |
No functional change, just using a common spelling.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/cpu.c | 2 +-
target/ppc/cpu_init.c | 2 +-
target/s390x/cpu.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index b9e09a702d..906eb981b0 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -2440,7 +2440,7 @@ static const TypeInfo arm_cpu_type_info = {
.name = TYPE_ARM_CPU,
.parent = TYPE_CPU,
.instance_size = sizeof(ARMCPU),
- .instance_align = __alignof__(ARMCPU),
+ .instance_align = __alignof(ARMCPU),
.instance_init = arm_cpu_initfn,
.instance_finalize = arm_cpu_finalizefn,
.abstract = true,
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c
index 7ab5ee92d9..7830640f01 100644
--- a/target/ppc/cpu_init.c
+++ b/target/ppc/cpu_init.c
@@ -7413,7 +7413,7 @@ static const TypeInfo ppc_cpu_type_info = {
.name = TYPE_POWERPC_CPU,
.parent = TYPE_CPU,
.instance_size = sizeof(PowerPCCPU),
- .instance_align = __alignof__(PowerPCCPU),
+ .instance_align = __alignof(PowerPCCPU),
.instance_init = ppc_cpu_instance_init,
.instance_finalize = ppc_cpu_instance_finalize,
.abstract = true,
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index df167493c3..d9625bc266 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -363,7 +363,7 @@ static const TypeInfo s390_cpu_type_info = {
.name = TYPE_S390_CPU,
.parent = TYPE_CPU,
.instance_size = sizeof(S390CPU),
- .instance_align = __alignof__(S390CPU),
+ .instance_align = __alignof(S390CPU),
.instance_init = s390_cpu_initfn,
#ifndef CONFIG_USER_ONLY
--
2.34.1
- [PATCH v2 00/24] Reduce usage of CPUArchState in cputlb.c, Richard Henderson, 2023/09/13
- [PATCH v2 03/24] qom: Propagate alignment through type system, Richard Henderson, 2023/09/13
- [PATCH v2 02/24] accel/tcg: Move CPUTLB definitions from cpu-defs.h, Richard Henderson, 2023/09/13
- [PATCH v2 01/24] target/arm: Replace TARGET_PAGE_ENTRY_EXTRA, Richard Henderson, 2023/09/13
- [PATCH v2 05/24] target/arm: Remove size and alignment for cpu subclasses, Richard Henderson, 2023/09/13
- [PATCH v2 04/24] target/*: Use __alignof not __alignof__,
Richard Henderson <=
- [PATCH v2 08/24] accel/tcg: Move CPUNegativeOffsetState into CPUState, Richard Henderson, 2023/09/13
- [PATCH v2 09/24] accel/tcg: Remove CPUState.icount_decr_ptr, Richard Henderson, 2023/09/13
- [PATCH v2 06/24] target/*: Add instance_align to all cpu base classes, Richard Henderson, 2023/09/13
- [PATCH v2 07/24] accel/tcg: Validate placement of CPUNegativeOffsetState, Richard Henderson, 2023/09/13
- [PATCH v2 10/24] accel/tcg: Move can_do_io to CPUNegativeOffsetState, Richard Henderson, 2023/09/13