#ifndef _ASM_GENERIC_CPUTIME_H #define _ASM_GENERIC_CPUTIME_H #include #include #ifndef CONFIG_VIRT_CPU_ACCOUNTING # include #endif #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN # include #endif /* * Convert cputime to ms and back. */ #define cputime_to_msecs(__ct) jiffies_to_msecs(__ct) #define msecs_to_cputime(__msecs) msecs_to_jiffies(__msecs) #define cputime_sub(__a, __b) ((__a) - (__b)) #endif