Print this page
8115 parallel zfs mount

@@ -18,20 +18,21 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2017 RackTop Systems.
  */
 
 #ifndef _BITSET_H
 #define _BITSET_H
 
 #ifdef  __cplusplus
 extern "C" {
 #endif
 
-#if (defined(_KERNEL) || defined(_KMEMUSER))
+#if defined(_KERNEL) || defined(_FAKE_KERNEL) || defined(_KMEMUSER)
 #include <sys/bitmap.h>
 #include <sys/types.h>
 
 typedef struct bitset {
         ulong_t *bs_set;

@@ -85,11 +86,11 @@
  */
 void            bitset_zero(bitset_t *);
 void            bitset_copy(bitset_t *, bitset_t *);
 int             bitset_match(bitset_t *, bitset_t *);
 
-#endif  /* !_KERNEL && !_KMEMUSER */
+#endif  /* _KERNEL || _FAKE_KERNEL || _KMEMUSER */
 
 #ifdef  __cplusplus
 }
 #endif