diff options
author | Benjamin Herrenschmidt | 2016-06-28 21:05:15 +0200 |
---|---|---|
committer | David Gibson | 2016-07-01 05:41:47 +0200 |
commit | 27f2458245e259618beb2635abccf00286ea8b2d (patch) | |
tree | 833adca253ea6107b92e34c257b9525d38a146b5 /include/hw/ppc/spapr.h | |
parent | ppc/xics: Implement H_IPOLL using an accessor (diff) | |
download | qemu-27f2458245e259618beb2635abccf00286ea8b2d.tar.gz qemu-27f2458245e259618beb2635abccf00286ea8b2d.tar.xz qemu-27f2458245e259618beb2635abccf00286ea8b2d.zip |
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>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r-- | include/hw/ppc/spapr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index e1f8274cf4..49325555d3 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -52,7 +52,7 @@ struct sPAPRMachineState { struct VIOsPAPRBus *vio_bus; QLIST_HEAD(, sPAPRPHBState) phbs; struct sPAPRNVRAM *nvram; - XICSState *icp; + XICSState *xics; DeviceState *rtc; void *htab; |