aboutsummaryrefslogtreecommitdiff
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-02-09 12:08:36 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-22 11:28:28 +1100
commit8aba3842980954191a061d4618f80f368226ef5c (patch)
tree5227620f0d1b4d9a2702e462f106134aedb33ece /include/hw/boards.h
parent1ea69c0e254094d3d45269ca2259d3bebd1ba9f5 (diff)
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/hw/boards.h')
-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;
/**