| Submitter | Andreas Färber |
|---|---|
| Date | Jan. 27, 2013, 10:32 p.m. |
| Message ID | <5105AB1A.3040802@suse.de> |
| Download | mbox | patch |
| Permalink | /patch/216073/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c index 7ace68c..183b5b3 100644 --- a/target-unicore32/helper.c +++ b/target-unicore32/helper.c @@ -36,7 +36,7 @@ CPUUniCore32State *uc32_cpu_init(const char *cpu_model) if (oc == NULL) { return NULL; } - cpu = UNICORE32_CPU(object_new(cpu_model)); + cpu = UNICORE32_CPU(object_new(object_class_get_name(oc))); env = &cpu->env; if (inited) {