]> asedeno.scripts.mit.edu Git - linux.git/blob - include/linux/cputime.h
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / include / linux / cputime.h
1 #ifndef __LINUX_CPUTIME_H
2 #define __LINUX_CPUTIME_H
3
4 #ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
5 #include <asm/cputime.h>
6
7 #ifndef cputime_to_nsecs
8 # define cputime_to_nsecs(__ct) \
9         (cputime_to_usecs(__ct) * NSEC_PER_USEC)
10 #endif
11
12 #endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */
13 #endif /* __LINUX_CPUTIME_H */