summaryrefslogtreecommitdiffstats
path: root/kernel/include/asm-generic/cputime.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/asm-generic/cputime.h')
-rw-r--r--kernel/include/asm-generic/cputime.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/include/asm-generic/cputime.h b/kernel/include/asm-generic/cputime.h
new file mode 100644
index 000000000..51969436b
--- /dev/null
+++ b/kernel/include/asm-generic/cputime.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_GENERIC_CPUTIME_H
+#define _ASM_GENERIC_CPUTIME_H
+
+#include <linux/time.h>
+#include <linux/jiffies.h>
+
+#ifndef CONFIG_VIRT_CPU_ACCOUNTING
+# include <asm-generic/cputime_jiffies.h>
+#endif
+
+#ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN
+# include <asm-generic/cputime_nsecs.h>
+#endif
+
+#endif