summaryrefslogtreecommitdiffstats
path: root/numa.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-08-30 15:24:32 +0200
committerDavid Gibson2017-09-08 01:30:55 +0200
commit03c9141d75eac39b7897c4a670eb71103da9986f (patch)
tree9b295fa07917bdb2785ff9a7fe3c29b706182b5b /numa.c
parentppc: make cpu alias point only to real cpu models (diff)
downloadqemu-03c9141d75eac39b7897c4a670eb71103da9986f.tar.gz
qemu-03c9141d75eac39b7897c4a670eb71103da9986f.tar.xz
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 'numa.c')
0 files changed, 0 insertions, 0 deletions