diff options
author | Brian Behlendorf <[email protected]> | 2010-06-11 14:57:49 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-06-11 15:57:25 -0700 |
commit | 32c6147dee702e6033a9f3b4999a0b9025a88260 (patch) | |
tree | 9d7f8713aee5e545eaf4cedb3361e6edb6ae01cd /include/sys/timer.h | |
parent | b868e22f05fd85be16afee800207f72b8e310d32 (diff) |
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.
Diffstat (limited to 'include/sys/timer.h')
-rw-r--r-- | include/sys/timer.h | 3 |
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 */ |