aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/timer.h')
-rw-r--r--include/sys/timer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/timer.h b/include/sys/timer.h
index 3af57d8f5..ea6043696 100644
--- a/include/sys/timer.h
+++ b/include/sys/timer.h
@@ -32,6 +32,9 @@
#define lbolt ((clock_t)jiffies)
#define lbolt64 ((int64_t)get_jiffies_64())
+#define ddi_get_lbolt() ((clock_t)jiffies)
+#define ddi_get_lbolt64() ((int64_t)get_jiffies_64())
+
#define delay(ticks) schedule_timeout((long)(ticks))
#endif /* _SPL_TIMER_H */