For consistency with other functions in PowerPC CPU driver, the two
functions are renamed as ppcUpdate and ppcDataFree, respectively.
static void
-PowerPCDataFree(union cpuData *data)
+ppcDataFree(union cpuData *data)
{
if (data == NULL)
return;
#endif
static int
-PowerPCUpdate(virCPUDefPtr guest ATTRIBUTE_UNUSED,
+ppcUpdate(virCPUDefPtr guest ATTRIBUTE_UNUSED,
const virCPUDefPtr host ATTRIBUTE_UNUSED)
{
return 0;
}
+
static virCPUDefPtr
ppcBaseline(virCPUDefPtr *cpus,
unsigned int ncpus,
.compare = ppcCompare,
.decode = ppcDecode,
.encode = NULL,
- .free = PowerPCDataFree,
+ .free = ppcDataFree,
#if defined(__powerpc__) || defined(__powerpc64__)
.nodeData = ppcNodeData,
#else
#endif
.guestData = NULL,
.baseline = ppcBaseline,
- .update = PowerPCUpdate,
+ .update = ppcUpdate,
.hasFeature = NULL,
};