summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-03-31 12:16:24 -0700
committerBrian Behlendorf <[email protected]>2011-03-31 12:20:53 -0700
commite88b041ed6a7ce358df25a7af057ea5c76dd1c2a (patch)
tree08b4fe8048049512bc5473b420fc4b9a1fba6db2 /include
parentbfd214af01dd360417b1331d903655244979fe0f (diff)
Fix libzpool cv_* build error
This build failure was accidentally introduced by previous commit bfd214a which fixed the load average. Unfortunately, the wrapper for cv_wait_interruptible was not available in the zfs_context.h user compatibility code. I failed to notice this because I didn't rebuild everything cleanly before committing. undefined reference to `cv_wait_interruptible' collect2: ld returned 1 exit status Closes #181
Diffstat (limited to 'include')
-rw-r--r--include/sys/zfs_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index a0165bb2f..2ac41e007 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -310,7 +310,8 @@ extern void cv_wait(kcondvar_t *cv, kmutex_t *mp);
extern clock_t cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime);
extern void cv_signal(kcondvar_t *cv);
extern void cv_broadcast(kcondvar_t *cv);
-#define cv_timedwait_interruptible(cv, mp, at) cv_timedwait(cv, mp, at);
+#define cv_timedwait_interruptible(cv, mp, at) cv_timedwait(cv, mp, at)
+#define cv_wait_interruptible(cv, mp) cv_wait(cv, mp)
/*
* kstat creation, installation and deletion