]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/include/asm/time.h
KVM: PPC: Book3S HV: Accumulate timing information for real-mode code
[karo-tx-linux.git] / arch / powerpc / include / asm / time.h
index 03cbada59d3afaff427ca59dab3475426ef16304..10fc784a2ad4cbf687ce28b1d2bc2d6c06fed5b4 100644 (file)
@@ -211,5 +211,8 @@ extern void secondary_cpu_time_init(void);
 
 DECLARE_PER_CPU(u64, decrementers_next_tb);
 
+/* Convert timebase ticks to nanoseconds */
+unsigned long long tb_to_ns(unsigned long long tb_ticks);
+
 #endif /* __KERNEL__ */
 #endif /* __POWERPC_TIME_H */