+0
−21
+33
−7
+2
−2
+2
−2
+3
−0
Loading
The concept of a VCPU ID that differs from the CPU's index (cpu->cpu_index) exists only within SPAPR machines so, move the functions ppc_get_vcpu_id() and ppc_get_cpu_by_vcpu_id() into spapr.c and rename them appropriately. Signed-off-by:Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>