]> git.proxmox.com Git - mirror_qemu.git/commit
ppc/xics: Replace "icp" with "xics" in most places
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 28 Jun 2016 19:05:15 +0000 (00:35 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 1 Jul 2016 03:41:47 +0000 (13:41 +1000)
commit27f2458245e259618beb2635abccf00286ea8b2d
tree833adca253ea6107b92e34c257b9525d38a146b5
parent1cbd22205594c4cf024c50cb437755c64f385da1
ppc/xics: Replace "icp" with "xics" in most places

The "ICP" is a different object than the "XICS". For historical reasons,
we have a number of places where we name a variable "icp" while it contains
a XICSState pointer. There *is* an ICPState structure too so this makes
the code really confusing.

This is a mechanical replacement of all those instances to use the name
"xics" instead. There should be no functional change.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[spapr_cpu_init has been moved to spapr_cpu_core.c, change there]
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
12 files changed:
hw/intc/xics.c
hw/intc/xics_kvm.c
hw/intc/xics_spapr.c
hw/ppc/spapr.c
hw/ppc/spapr_cpu_core.c
hw/ppc/spapr_events.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
include/hw/pci-host/spapr.h
include/hw/ppc/spapr.h
include/hw/ppc/spapr_vio.h
include/hw/ppc/xics.h