diff options
author | Ryan Moeller <[email protected]> | 2020-11-04 21:43:30 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-11-10 10:58:59 -0800 |
commit | 2074dfd0e9998e1086c373962f42960e0053f987 (patch) | |
tree | 9b82f25ee562f8bc4eb76abcf09182cb55010035 /include | |
parent | 8a9634e2f36528aa47096ed09cd849a08cb23fc3 (diff) |
FreeBSD: Move uio_prefaultpages def to uio.h
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Matt Macy <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11176
Diffstat (limited to 'include')
-rw-r--r-- | include/os/freebsd/spl/sys/uio.h | 1 | ||||
-rw-r--r-- | include/os/freebsd/zfs/sys/zfs_context_os.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/os/freebsd/spl/sys/uio.h b/include/os/freebsd/spl/sys/uio.h index 81c7ab64c..11b2189cd 100644 --- a/include/os/freebsd/spl/sys/uio.h +++ b/include/os/freebsd/spl/sys/uio.h @@ -62,6 +62,7 @@ void uioskip(uio_t *uiop, size_t n); #define uio_iovlen(uio, idx) (uio)->uio_iov[(idx)].iov_len #define uio_iovbase(uio, idx) (uio)->uio_iov[(idx)].iov_base #define uio_fault_disable(uio, set) +#define uio_prefaultpages(size, uio) (0) static inline void uio_iov_at_index(uio_t *uio, uint_t idx, void **base, uint64_t *len) diff --git a/include/os/freebsd/zfs/sys/zfs_context_os.h b/include/os/freebsd/zfs/sys/zfs_context_os.h index f4c4a5f87..8dbe907d0 100644 --- a/include/os/freebsd/zfs/sys/zfs_context_os.h +++ b/include/os/freebsd/zfs/sys/zfs_context_os.h @@ -42,7 +42,6 @@ #include <linux/types.h> #define cond_resched() kern_yield(PRI_USER) -#define uio_prefaultpages(size, uio) (0) #define taskq_create_sysdc(a, b, d, e, p, dc, f) \ (taskq_create(a, b, maxclsyspri, d, e, f)) |