aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r--arch/powerpc/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 14e485525e31..bc84a8d47b9e 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -709,7 +709,7 @@ unsigned long long running_clock(void)
709 * time and on a host which doesn't do any virtualisation TB *should* equal 709 * time and on a host which doesn't do any virtualisation TB *should* equal
710 * VTB so it makes no difference anyway. 710 * VTB so it makes no difference anyway.
711 */ 711 */
712 return local_clock() - cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]); 712 return local_clock() - kcpustat_this_cpu->cpustat[CPUTIME_STEAL];
713} 713}
714#endif 714#endif
715 715