diff options
Diffstat (limited to 'hw/core/cpu.c')
-rw-r--r-- | hw/core/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/cpu.c b/hw/core/cpu.c index fde5fd395b..fe65ca62ac 100644 --- a/hw/core/cpu.c +++ b/hw/core/cpu.c @@ -440,7 +440,7 @@ static void cpu_class_init(ObjectClass *klass, void *data) set_bit(DEVICE_CATEGORY_CPU, dc->categories); dc->realize = cpu_common_realizefn; dc->unrealize = cpu_common_unrealizefn; - dc->props = cpu_common_props; + device_class_set_props(dc, cpu_common_props); /* * Reason: CPUs still need special care by board code: wiring up * IRQs, adding reset handlers, halting non-first CPUs, ... |