From 32c6147dee702e6033a9f3b4999a0b9025a88260 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 11 Jun 2010 14:57:49 -0700 Subject: Minor cleanup and Solaris API additions. Minor formatting cleanups. API additions: * {U}INT8_{MIN,MAX}, {U}INT16_{MIN,MAX} macros. * id_t typedef * ddi_get_lbolt(), ddi_get_lbolt64() functions. --- include/sys/timer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sys/timer.h') 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 */ -- cgit v1.2.3