ppc: spapr: replace ppc_cpu_parse_features() with cpu_parse_cpu_model()
commita1063aa8a5e7bb66f7d2ea1da335d856df0b6f23
authorIgor Mammedov <imammedo@redhat.com>
Mon, 9 Oct 2017 19:50:58 +0000 (9 21:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Oct 2017 23:34:00 +0000 (17 10:34 +1100)
treee43ae532003575d81bdcc9217445ab483699980d
parent23ec69ecf9397b9e990bc05de29db4af8c4fce85
ppc: spapr: replace ppc_cpu_parse_features() with cpu_parse_cpu_model()

ppc_cpu_parse_features() is doing practically the same thing as
generic cpu_parse_cpu_model(). So remove duplicated impl. and
reuse generic one.

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/ppc.c
hw/ppc/spapr_cpu_core.c
include/hw/ppc/ppc.h