diff options
author | Matthew Macy <[email protected]> | 2019-11-01 10:41:03 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-01 10:41:03 -0700 |
commit | 4a2ed9001353a895ff84594cb34e9c42fd24edaa (patch) | |
tree | 5b491b0d933db97f8d33cd6a02b2f18fed0d5d21 /include/os/linux/spl/sys/Makefile.am | |
parent | bd4dde8ef7b3861b20f12619f8994e037b303040 (diff) |
Wrap Linux module macros
MODULE_VERSION is already defined on FreeBSD. Wrap all of the
used MODULE_* macros for the sake of consistency and portability.
Add a user space noop version to reduce the need for _KERNEL ifdefs.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9542
Diffstat (limited to 'include/os/linux/spl/sys/Makefile.am')
-rw-r--r-- | include/os/linux/spl/sys/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/os/linux/spl/sys/Makefile.am b/include/os/linux/spl/sys/Makefile.am index 934289321..7e7d95dc0 100644 --- a/include/os/linux/spl/sys/Makefile.am +++ b/include/os/linux/spl/sys/Makefile.am @@ -22,6 +22,7 @@ KERNEL_H = \ $(top_srcdir)/include/os/linux/spl/sys/kobj.h \ $(top_srcdir)/include/os/linux/spl/sys/kstat.h \ $(top_srcdir)/include/os/linux/spl/sys/list.h \ + $(top_srcdir)/include/os/linux/spl/sys/mod_os.h \ $(top_srcdir)/include/os/linux/spl/sys/mode.h \ $(top_srcdir)/include/os/linux/spl/sys/mutex.h \ $(top_srcdir)/include/os/linux/spl/sys/param.h \ |