diff options
author | Warner Losh <imp@FreeBSD.org> | 2020-10-12 22:19:07 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2020-10-12 22:19:07 +0000 |
commit | 2fec3ae8964c8864a9e75d6a2f0ed137ede489a7 (patch) | |
tree | 802281ee096b50f2ca9590873e19f4623fad0c6a /sys/contrib/openzfs/module | |
parent | e59db4685414e3fa23ac5c996d05708b678053ac (diff) | |
download | src-2fec3ae8964c8864a9e75d6a2f0ed137ede489a7.tar.gz src-2fec3ae8964c8864a9e75d6a2f0ed137ede489a7.zip |
Add zstd support to the boot loader.
Add support to the _STANDALONE environment enough bits of the kernel
that we can compile it. We still have a small zstd_shim.c since there
were 3 items that were a bit hard to nail down and may be cleaned up
in the future. These go hand in hand with a number of commits to
sys/sys in the past weeks, should this need be MFCd.
Discussed with: mmacy (in review and on IRC/Slack)
Reviewed by: freqlabs (on openzfs repo)
Differential Revision: https://reviews.freebsd.org/D26218
Notes
Notes:
svn path=/head/; revision=366657
Diffstat (limited to 'sys/contrib/openzfs/module')
-rw-r--r-- | sys/contrib/openzfs/module/os/freebsd/spl/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/module/os/freebsd/spl/list.c b/sys/contrib/openzfs/module/os/freebsd/spl/list.c index 8796be4a98fb..0f5ae629126c 100644 --- a/sys/contrib/openzfs/module/os/freebsd/spl/list.c +++ b/sys/contrib/openzfs/module/os/freebsd/spl/list.c @@ -27,10 +27,10 @@ * Generic doubly-linked list implementation */ +#include <sys/param.h> #include <sys/list.h> #include <sys/list_impl.h> #include <sys/types.h> -#include <sys/sysmacros.h> #include <sys/debug.h> #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) |