summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Mammedov2017-02-09 12:08:36 +0100
committerDavid Gibson2017-02-22 01:28:28 +0100
commit8aba3842980954191a061d4618f80f368226ef5c (patch)
tree5227620f0d1b4d9a2702e462f106134aedb33ece /include
parentpc: pass apic_id to pc_find_cpu_slot() directly so lookup could be done witho... (diff)
downloadqemu-8aba3842980954191a061d4618f80f368226ef5c.tar.gz
qemu-8aba3842980954191a061d4618f80f368226ef5c.tar.xz
qemu-8aba3842980954191a061d4618f80f368226ef5c.zip
change CPUArchId.cpu type to Object*
so it could be reused for SPAPR cores as well Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r--include/hw/boards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 4023b384f8..60209df755 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -51,7 +51,7 @@ void machine_register_compat_props(MachineState *machine);
typedef struct {
uint64_t arch_id;
CpuInstanceProperties props;
- struct CPUState *cpu;
+ Object *cpu;
} CPUArchId;
/**