mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
FreeBSD: Reduce divergence from in-tree sources
This includes random small tweaks, primarily a build fixes, required when ZFS is built as part of FreeBSD base. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Closes #15368
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Copyright (c) 2022 Martin Matuska
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Copyright (c) 2022 Rob Wing
|
||||
*
|
||||
|
||||
@@ -78,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)
|
||||
|
||||
Reference in New Issue
Block a user