summaryrefslogtreecommitdiffstats
path: root/include/sys/time.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-21 17:29:47 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-04-21 17:29:47 +0000
commit937879f11db15a4842306f9da4b4a3e60cf073b7 (patch)
tree3a72837d2323df2f844951229ecbbdb22925ac6a /include/sys/time.h
parent2fae1b3d0af1caa2aaa77552a0c96f121016381d (diff)
Update SPL to use new debug infrastructure. This means:
- Replacing all BUG_ON()'s with proper ASSERT()'s - Using ENTRY,EXIT,GOTO, and RETURN macro to instument call paths git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@78 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/time.h')
-rw-r--r--include/sys/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 2f03203e6..44a0ec3c9 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -41,7 +41,7 @@ typedef enum clock_type {
#define hz \
({ \
- BUG_ON(HZ < 100 || HZ > MICROSEC); \
+ ASSERT(HZ >= 100 && HZ <= MICROSEC); \
HZ; \
})