diff options
author | Marc-André Lureau | 2018-11-27 09:55:59 +0100 |
---|---|---|
committer | Marc-André Lureau | 2019-01-07 13:18:42 +0100 |
commit | 51e5ef459eca045d7e8afe880ee60190f0b75b26 (patch) | |
tree | 3f89dce6705b253258e3deb79574e592bf077d53 /target/arm/cpu.h | |
parent | qdev-props: call object_apply_global_props() (diff) | |
download | qemu-51e5ef459eca045d7e8afe880ee60190f0b75b26.tar.gz qemu-51e5ef459eca045d7e8afe880ee60190f0b75b26.tar.xz qemu-51e5ef459eca045d7e8afe880ee60190f0b75b26.zip |
arm: replace instance_post_init()
Replace arm_cpu_post_init() instance callback by calling it from leaf
classes, to avoid potential ordering issue with other post_init callbacks.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r-- | target/arm/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index c943f35dd9..3aedfeeaf1 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -884,6 +884,8 @@ static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) return container_of(env, ARMCPU, env); } +void arm_cpu_post_init(Object *obj); + uint64_t arm_cpu_mp_affinity(int idx, uint8_t clustersz); #define ENV_GET_CPU(e) CPU(arm_env_get_cpu(e)) |