aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-moxie/cpu.c')
-rw-r--r--target-moxie/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c
index f2b0791b91..3c3932c129 100644
--- a/target-moxie/cpu.c
+++ b/target-moxie/cpu.c
@@ -97,8 +97,9 @@ static void moxie_cpu_class_init(ObjectClass *oc, void *data)
cc->class_by_name = moxie_cpu_class_by_name;
- cpu_class_set_vmsd(cc, &vmstate_moxie_cpu);
cc->do_interrupt = moxie_cpu_do_interrupt;
+ cc->dump_state = moxie_cpu_dump_state;
+ cpu_class_set_vmsd(cc, &vmstate_moxie_cpu);
}
static void moxielite_initfn(Object *obj)