summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/vtime.h0
-rw-r--r--include/linux/vtime.h4
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/vtime.h b/include/asm-generic/vtime.h
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/include/asm-generic/vtime.h
diff --git a/include/linux/vtime.h b/include/linux/vtime.h
index b1dd2db8007..2ad073915e8 100644
--- a/include/linux/vtime.h
+++ b/include/linux/vtime.h
@@ -1,6 +1,10 @@
#ifndef _LINUX_KERNEL_VTIME_H
#define _LINUX_KERNEL_VTIME_H
+#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
+#include <asm/vtime.h>
+#endif
+
struct task_struct;
#ifdef CONFIG_VIRT_CPU_ACCOUNTING