This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / linux / vs_time.h
diff --git a/include/linux/vs_time.h b/include/linux/vs_time.h
new file mode 100644 (file)
index 0000000..48a0ec5
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef _VS_TIME_H
+#define _VS_TIME_H
+
+
+/* time faking stuff */
+
+#ifdef CONFIG_VSERVER_VTIME
+
+extern void vx_gettimeofday(struct timeval *tv);
+extern int vx_settimeofday(struct timespec *ts);
+
+#else
+#define        vx_gettimeofday(t)      do_gettimeofday(t)
+#define        vx_settimeofday(t)      do_settimeofday(t)
+#endif
+
+#else
+#warning duplicate inclusion
+#endif