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:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user