1 #ifndef __LINUX_CPUTIME_H
2 #define __LINUX_CPUTIME_H
4 #ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
5 #include <asm/cputime.h>
7 #ifndef cputime_to_nsecs
8 # define cputime_to_nsecs(__ct) \
9 (cputime_to_usecs(__ct) * NSEC_PER_USEC)
12 #endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */
13 #endif /* __LINUX_CPUTIME_H */