zfs: add workaround to unbreak kernel compilation on MacOS

This needs to be resolved later with the correct macros or
a different approach in discussion with Rob Norris (OpenZFS).
This commit is contained in:
Martin Matuska
2025-08-11 23:16:24 +02:00
parent d0abb9a639
commit 6188ca6a9d
@@ -74,7 +74,9 @@ extern const zfs_tunable_t *__stop_zfs_tunables;
* any NULL pointers.
*/
static void *__zfs_tunable__placeholder
#if !defined(__APPLE__)
__attribute__((__section__("zfs_tunables")))
#endif
__attribute__((__used__)) = NULL;
/*