mod.h: make consistent across all three platforms

mod.h only exists to include the platform-specific mod_os.h, so we can
get rid of it and just call the platform header mod.h.

Then, create a libspl mod.h, and move the relevant items to it so we can
start building on it.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17537
This commit is contained in:
Rob Norris
2025-07-12 09:28:36 +10:00
committed by Brian Behlendorf
parent fe3b2b76cf
commit 3a494c6d2a
11 changed files with 43 additions and 53 deletions
-1
View File
@@ -69,7 +69,6 @@ COMMON_H = \
sys/metaslab_impl.h \
sys/mmp.h \
sys/mntent.h \
sys/mod.h \
sys/multilist.h \
sys/nvpair.h \
sys/nvpair_impl.h \