aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-10-09 21:51:08 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-10-17 10:34:01 +1100
commit35bdb9def236135a24c553c60d9e257985b18a1f (patch)
treebb59c9c7bf7b28eaf9efc17440ee67bcf04679c2 /include/hw
parent7fd544d8a754129b1a09281535a16daffc781f92 (diff)
downloadqemu-35bdb9def236135a24c553c60d9e257985b18a1f.zip
qemu-35bdb9def236135a24c553c60d9e257985b18a1f.tar.gz
qemu-35bdb9def236135a24c553c60d9e257985b18a1f.tar.bz2
ppc: pnv: drop PnvCoreClass::cpu_oc field
deduce cpu type directly from core type instead of maintaining type mapping in PnvCoreClass::cpu_oc and doing extra cpu_model parsing in pnv_core_class_init() Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/pnv_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ppc/pnv_core.h b/include/hw/ppc/pnv_core.h
index 3360c4b..a336a1f 100644
--- a/include/hw/ppc/pnv_core.h
+++ b/include/hw/ppc/pnv_core.h
@@ -42,7 +42,6 @@ typedef struct PnvCore {
typedef struct PnvCoreClass {
DeviceClass parent_class;
- ObjectClass *cpu_oc;
} PnvCoreClass;
#define PNV_CORE_TYPE_SUFFIX "-" TYPE_PNV_CORE