aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h')
-rw-r--r--sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h b/sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h
index 867199501396..457fa3af8142 100644
--- a/sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h
+++ b/sys/contrib/openzfs/include/os/freebsd/zfs/sys/zfs_context_os.h
@@ -45,8 +45,6 @@
#define HAVE_LARGE_STACKS 1
#endif
-#define cond_resched() kern_yield(PRI_USER)
-
#define taskq_create_sysdc(a, b, d, e, p, dc, f) \
((void) sizeof (dc), taskq_create(a, b, maxclsyspri, d, e, f))
@@ -80,7 +78,7 @@ extern int hz;
extern int tick;
typedef int fstrans_cookie_t;
#define spl_fstrans_mark() (0)
-#define spl_fstrans_unmark(x) (x = 0)
+#define spl_fstrans_unmark(x) ((void)x)
#define signal_pending(x) SIGPENDING(x)
#define current curthread
#define thread_join(x)