qemu/target
Greg Kurz bc9888f759 cpu: Use cpu_class_set_parent_reset()
Convert all targets to use cpu_class_set_parent_reset() with the following
coccinelle script:

@@
type CPUParentClass;
CPUParentClass *pcc;
CPUClass *cc;
identifier parent_fn;
identifier child_fn;
@@
+cpu_class_set_parent_reset(cc, child_fn, &pcc->parent_fn);
-pcc->parent_fn = cc->reset;
...
-cc->reset = child_fn;

Signed-off-by: Greg Kurz <groug@kaod.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Message-Id: <157650847817.354886.7047137349018460524.stgit@bahia.lan>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:06 +01:00
..
alpha tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
arm cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
cris cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
hppa tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
i386 cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
lm32 cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
m68k cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
microblaze cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
mips cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
moxie cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
nios2 cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
openrisc cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
ppc cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
riscv cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
s390x cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
sh4 cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
sparc cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
tilegx cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
tricore cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00
unicore32 tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
xtensa cpu: Use cpu_class_set_parent_reset() 2020-01-24 20:59:06 +01:00