ppc: spapr: use cpu type name directly
commitb51d3c8818e2fd0a4a36a43d7f8756274cbc5ac9
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:51:01 +0000 (9 21:51 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:00 +0000 (17 10:34 +1100)
tree3cc346b3d4378282d6a5600ab728b92d28f53de9
parent44cd95e31a94ef39c8888ad9e8f5fec66dae31bb
ppc: spapr: use cpu type name directly

replace sPAPRCPUCoreClass::cpu_class with cpu type name
since it were needed just to get that at points it were
accessed.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c
include/hw/ppc/spapr_cpu_core.h
target/ppc/kvm.c