diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-01 15:08:32 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-07-01 15:08:32 +0100 |
| commit | 4a94d8047d9dca2d7e73bbc863fabbea2df1bab6 (patch) | |
| tree | a133266556dcd2e5c3d244dc2a1f88f7487383af | |
| parent | a5b94f6c7b3a6ae583ba07098bff810049262413 (diff) | |
| download | focaccia-qemu-4a94d8047d9dca2d7e73bbc863fabbea2df1bab6.tar.gz focaccia-qemu-4a94d8047d9dca2d7e73bbc863fabbea2df1bab6.zip | |
target/arm: Reduce arm_cpu_post_init() declaration scope
arm_cpu_post_init() is only used within the same file unit. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250623121845.7214-3-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| -rw-r--r-- | target/arm/cpu.c | 2 | ||||
| -rw-r--r-- | target/arm/cpu.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 8e77414c2b..7030540f91 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1713,7 +1713,7 @@ static void arm_cpu_propagate_feature_implications(ARMCPU *cpu) } } -void arm_cpu_post_init(Object *obj) +static void arm_cpu_post_init(Object *obj) { ARMCPU *cpu = ARM_CPU(obj); diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 8744922330..0338153923 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1168,8 +1168,6 @@ void arm_gt_sel2vtimer_cb(void *opaque); unsigned int gt_cntfrq_period_ns(ARMCPU *cpu); void gt_rme_post_el_change(ARMCPU *cpu, void *opaque); -void arm_cpu_post_init(Object *obj); - #define ARM_AFF0_SHIFT 0 #define ARM_AFF0_MASK (0xFFULL << ARM_AFF0_SHIFT) #define ARM_AFF1_SHIFT 8 |