summaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorChristopher Covington <cov@codeaurora.org>2015-09-25 10:42:21 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-10-08 19:46:01 +0300
commit4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a (patch)
tree500057c9c76ebc2ab43681444f5f26a767f2975d /hw/intc
parentec5fd402645fd4f03d89dcd5840b0e8542549e82 (diff)
downloadqemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.tar.gz
qemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.tar.bz2
qemu-4a7428c5a7e82f4dde3646e4a8cc8e54f3257e2a.zip
s/cpu_get_real_ticks/cpu_get_host_ticks/
This should help clarify the purpose of the function that returns the host system's CPU cycle count. Signed-off-by: Christopher Covington <cov@codeaurora.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> ppc portion Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index 67881c7109..9ff5796414 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -848,7 +848,7 @@ static target_ulong h_xirr_x(PowerPCCPU *cpu, sPAPRMachineState *spapr,
uint32_t xirr = icp_accept(ss);
args[0] = xirr;
- args[1] = cpu_get_real_ticks();
+ args[1] = cpu_get_host_ticks();
return H_SUCCESS;
}