Whamcloud - gitweb
checking statfs cache expiration in obd_statfs
authorfreym <freym>
Thu, 12 Jun 2003 23:03:25 +0000 (23:03 +0000)
committerfreym <freym>
Thu, 12 Jun 2003 23:03:25 +0000 (23:03 +0000)
lnet/include/lnet/timer.h [new file with mode: 0644]
lustre/portals/include/portals/timer.h [new file with mode: 0644]

diff --git a/lnet/include/lnet/timer.h b/lnet/include/lnet/timer.h
new file mode 100644 (file)
index 0000000..39fdc0d
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _PORTALS_TIMER_H
+#define _PORTALS_TIMER_H
+
+/* same as linux/timer.h, but for user space */
+
+#define time_after(a,b)         ((long)(b) - (long)(a) < 0)
+
+#endif
diff --git a/lustre/portals/include/portals/timer.h b/lustre/portals/include/portals/timer.h
new file mode 100644 (file)
index 0000000..39fdc0d
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _PORTALS_TIMER_H
+#define _PORTALS_TIMER_H
+
+/* same as linux/timer.h, but for user space */
+
+#define time_after(a,b)         ((long)(b) - (long)(a) < 0)
+
+#endif