diff options
author | Matthew Macy <[email protected]> | 2019-10-25 13:38:37 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-25 13:38:37 -0700 |
commit | 68a1b1589ad60f9c07d3299f7068ad29fb47e695 (patch) | |
tree | 7ee3570abba8be5f7769e7aa1973d538f151ce73 /include/os | |
parent | b4238327b4ec84451fd2944cee7ccff37a065d27 (diff) |
Remove sdt.h
It's mostly a noop on ZoL and it conflicts with platforms that
support dtrace. Remove this header to resolve the conflict.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Jorgen Lundman <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9497
Diffstat (limited to 'include/os')
-rw-r--r-- | include/os/linux/spl/sys/sysmacros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/os/linux/spl/sys/sysmacros.h b/include/os/linux/spl/sys/sysmacros.h index 0753864d1..c0bf4f531 100644 --- a/include/os/linux/spl/sys/sysmacros.h +++ b/include/os/linux/spl/sys/sysmacros.h @@ -191,6 +191,9 @@ extern void spl_cleanup(void); #define P2SAMEHIGHBIT_TYPED(x, y, type) \ (((type)(x) ^ (type)(y)) < ((type)(x) & (type)(y))) +#define SET_ERROR(err) \ + (__set_error(__FILE__, __func__, __LINE__, err), err) + #if defined(_KERNEL) && !defined(_KMEMUSER) && !defined(offsetof) /* avoid any possibility of clashing with <stddef.h> version */ |