summary refs log tree commit diff stats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2017-08-30 15:24:32 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-09-08 09:30:55 +1000
commit03c9141d75eac39b7897c4a670eb71103da9986f (patch)
tree9b295fa07917bdb2785ff9a7fe3c29b706182b5b /hw/core/loader.c
parent6ea707e9d1fb1a5680c091895fc042aac9a4bd74 (diff)
downloadfocaccia-qemu-03c9141d75eac39b7897c4a670eb71103da9986f.tar.gz
focaccia-qemu-03c9141d75eac39b7897c4a670eb71103da9986f.zip
ppc: replace inter-function cyclic dependency/recurssion with 2 simple lookups
previous patches cleaned up cpu model/alias naming which
allows to simplify cpu model/alias to cpu type lookup a bit
byt removing recurssion and dependency of ppc_cpu_class_by_name() /
ppc_cpu_class_by_alias() on each other.
Besides of simplifying code it reduces it by ~15LOC.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions