summaryrefslogtreecommitdiffstats
path: root/module/zfs/rrwlock.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-12-07 16:05:25 -0800
committerBrian Behlendorf <[email protected]>2010-12-07 16:05:25 -0800
commita7dc7e5d5a5c4a68266b3d9ce89c6c53c04b1741 (patch)
treedaa5c2306ef1be48ab801533c97142000f9d10a3 /module/zfs/rrwlock.c
parent135cf6a8ae587855c8df803549c81dc60ccc12b5 (diff)
Enable rrwlock.c compilation
With the addition of the thread specific data interfaces to the SPL it is safe to enable compilation of the re-enterant read reader/writer locks.
Diffstat (limited to 'module/zfs/rrwlock.c')
-rw-r--r--module/zfs/rrwlock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c
index 8d05d9387..4cef53f95 100644
--- a/module/zfs/rrwlock.c
+++ b/module/zfs/rrwlock.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#ifdef HAVE_ZPL
-
#include <sys/refcount.h>
#include <sys/rrwlock.h>
@@ -264,4 +262,3 @@ rrw_held(rrwlock_t *rrl, krw_t rw)
return (held);
}
-#endif /* HAVE_ZPL */