aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2013-04-13 13:50:34 +0200
committerAurelien Jarno <aurelien@aurel32.net>2013-04-13 13:50:34 +0200
commit396a14a3be17edbcdf33ad2c94d6e1069464f9e0 (patch)
tree5a094259c3450e656a061d61fc980f3b93881d25 /target-moxie/cpu.c
parent0a9c2341de2e735166084538d000ed80182ff404 (diff)
parentc30d1aea1478cd55e8cfdf866afa39cd00bb4ea1 (diff)
Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu: cpu-exec: Allow "-d exec" in non-debug builds (drop CONFIG_DEBUG_EXEC) Typo, spelling and grammatical fixes linux-user: pass correct host flags to eventfd2 call target-moxie: Fix VMState registration
Diffstat (limited to 'target-moxie/cpu.c')
-rw-r--r--target-moxie/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c
index c0855f0573..f2b0791b91 100644
--- a/target-moxie/cpu.c
+++ b/target-moxie/cpu.c
@@ -97,7 +97,7 @@ static void moxie_cpu_class_init(ObjectClass *oc, void *data)
cc->class_by_name = moxie_cpu_class_by_name;
- dc->vmsd = &vmstate_moxie_cpu;
+ cpu_class_set_vmsd(cc, &vmstate_moxie_cpu);
cc->do_interrupt = moxie_cpu_do_interrupt;
}