aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am45
-rw-r--r--include/fs/Makefile.am13
-rw-r--r--include/fs/fs_subr.h2
-rw-r--r--include/linux/Makefile.am28
-rw-r--r--include/linux/bitops_compat.h2
-rw-r--r--include/linux/compiler_compat.h2
-rw-r--r--include/linux/file_compat.h2
-rw-r--r--include/linux/kallsyms_compat.h2
-rw-r--r--include/linux/list_compat.h2
-rw-r--r--include/linux/math64_compat.h2
-rw-r--r--include/linux/mm_compat.h2
-rw-r--r--include/linux/module_compat.h2
-rw-r--r--include/linux/mutex_compat.h2
-rw-r--r--include/linux/proc_compat.h2
-rw-r--r--include/linux/rwsem_compat.h2
-rw-r--r--include/linux/smp_compat.h2
-rw-r--r--include/linux/sysctl_compat.h2
-rw-r--r--include/linux/time_compat.h2
-rw-r--r--include/linux/uaccess_compat.h2
-rw-r--r--include/linux/zlib_compat.h2
-rw-r--r--include/rpc/Makefile.am14
-rw-r--r--include/rpc/types.h2
-rw-r--r--include/rpc/xdr.h2
-rw-r--r--include/sharefs/Makefile.am13
-rw-r--r--include/sharefs/share.h2
-rw-r--r--include/spl-ctl.h2
-rw-r--r--include/spl-debug.h2
-rw-r--r--include/spl-device.h2
-rw-r--r--include/spl-trace.h2
-rw-r--r--include/splat-ctl.h2
-rw-r--r--include/strings.h2
-rw-r--r--include/sys/Makefile.am110
-rw-r--r--include/sys/acl.h2
-rw-r--r--include/sys/acl_impl.h2
-rw-r--r--include/sys/atomic.h2
-rw-r--r--include/sys/attr.h2
-rw-r--r--include/sys/bitmap.h2
-rw-r--r--include/sys/bootconf.h2
-rw-r--r--include/sys/bootprops.h2
-rw-r--r--include/sys/buf.h2
-rw-r--r--include/sys/byteorder.h2
-rw-r--r--include/sys/callb.h2
-rw-r--r--include/sys/cmn_err.h2
-rw-r--r--include/sys/compress.h2
-rw-r--r--include/sys/condvar.h2
-rw-r--r--include/sys/conf.h2
-rw-r--r--include/sys/console.h2
-rw-r--r--include/sys/cpupart.h2
-rw-r--r--include/sys/cpuvar.h2
-rw-r--r--include/sys/crc32.h2
-rw-r--r--include/sys/cred.h2
-rw-r--r--include/sys/ctype.h2
-rw-r--r--include/sys/ddi.h2
-rw-r--r--include/sys/debug.h2
-rw-r--r--include/sys/dirent.h2
-rw-r--r--include/sys/disp.h2
-rw-r--r--include/sys/dkio.h2
-rw-r--r--include/sys/dklabel.h2
-rw-r--r--include/sys/dnlc.h2
-rw-r--r--include/sys/dumphdr.h2
-rw-r--r--include/sys/efi_partition.h2
-rw-r--r--include/sys/errno.h2
-rw-r--r--include/sys/extdirent.h2
-rw-r--r--include/sys/fcntl.h2
-rw-r--r--include/sys/file.h2
-rw-r--r--include/sys/fm/Makefile.am14
-rw-r--r--include/sys/fm/protocol.h2
-rw-r--r--include/sys/fm/util.h2
-rw-r--r--include/sys/fs/Makefile.am13
-rw-r--r--include/sys/fs/swapnode.h2
-rw-r--r--include/sys/idmap.h2
-rw-r--r--include/sys/int_limits.h2
-rw-r--r--include/sys/int_types.h2
-rw-r--r--include/sys/inttypes.h2
-rw-r--r--include/sys/isa_defs.h2
-rw-r--r--include/sys/kidmap.h2
-rw-r--r--include/sys/kmem.h2
-rw-r--r--include/sys/kobj.h2
-rw-r--r--include/sys/kstat.h2
-rw-r--r--include/sys/list.h2
-rw-r--r--include/sys/mkdev.h2
-rw-r--r--include/sys/mntent.h2
-rw-r--r--include/sys/modctl.h2
-rw-r--r--include/sys/mode.h2
-rw-r--r--include/sys/mount.h2
-rw-r--r--include/sys/mutex.h2
-rw-r--r--include/sys/note.h2
-rw-r--r--include/sys/open.h2
-rw-r--r--include/sys/param.h2
-rw-r--r--include/sys/pathname.h2
-rw-r--r--include/sys/policy.h2
-rw-r--r--include/sys/pool.h2
-rw-r--r--include/sys/priv_impl.h2
-rw-r--r--include/sys/proc.h2
-rw-r--r--include/sys/processor.h2
-rw-r--r--include/sys/pset.h2
-rw-r--r--include/sys/random.h2
-rw-r--r--include/sys/refstr.h2
-rw-r--r--include/sys/resource.h2
-rw-r--r--include/sys/rwlock.h2
-rw-r--r--include/sys/sdt.h2
-rw-r--r--include/sys/sid.h2
-rw-r--r--include/sys/signal.h2
-rw-r--r--include/sys/stat.h2
-rw-r--r--include/sys/stropts.h2
-rw-r--r--include/sys/sunddi.h2
-rw-r--r--include/sys/sunldi.h2
-rw-r--r--include/sys/sysdc.h2
-rw-r--r--include/sys/sysevent.h2
-rw-r--r--include/sys/sysevent/Makefile.am13
-rw-r--r--include/sys/sysevent/eventdefs.h2
-rw-r--r--include/sys/sysmacros.h2
-rw-r--r--include/sys/systeminfo.h2
-rw-r--r--include/sys/systm.h2
-rw-r--r--include/sys/t_lock.h2
-rw-r--r--include/sys/taskq.h2
-rw-r--r--include/sys/thread.h2
-rw-r--r--include/sys/time.h2
-rw-r--r--include/sys/timer.h2
-rw-r--r--include/sys/tsd.h2
-rw-r--r--include/sys/types.h2
-rw-r--r--include/sys/types32.h2
-rw-r--r--include/sys/u8_textprep.h2
-rw-r--r--include/sys/uio.h2
-rw-r--r--include/sys/unistd.h2
-rw-r--r--include/sys/utsname.h2
-rw-r--r--include/sys/va_list.h2
-rw-r--r--include/sys/varargs.h2
-rw-r--r--include/sys/vfs.h2
-rw-r--r--include/sys/vfs_opreg.h2
-rw-r--r--include/sys/vmsystm.h2
-rw-r--r--include/sys/vnode.h2
-rw-r--r--include/sys/zmod.h2
-rw-r--r--include/sys/zone.h2
-rw-r--r--include/unistd.h2
-rw-r--r--include/util/Makefile.am14
-rw-r--r--include/util/qsort.h2
-rw-r--r--include/util/sscanf.h2
-rw-r--r--include/vm/Makefile.am15
-rw-r--r--include/vm/anon.h2
-rw-r--r--include/vm/pvn.h2
-rw-r--r--include/vm/seg_kmem.h2
142 files changed, 397 insertions, 157 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 31acf7e99..952c4a267 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,28 +1,21 @@
-# All headers are referenced by this top level Makefile.am are
-# noinst_HEADERS because they are not installed in the usual include
-# location. We do not want to be using $includedir for this.
-# Installation is handled by the custom install-data-local rule.
-noinst_HEADERS = $(top_srcdir)/include/*.h
-noinst_HEADERS += $(top_srcdir)/include/fs/*.h
-noinst_HEADERS += $(top_srcdir)/include/linux/*.h
-noinst_HEADERS += $(top_srcdir)/include/rpc/*.h
-noinst_HEADERS += $(top_srcdir)/include/sharefs/*.h
-noinst_HEADERS += $(top_srcdir)/include/sys/fm/*.h
-noinst_HEADERS += $(top_srcdir)/include/sys/fs/*.h
-noinst_HEADERS += $(top_srcdir)/include/sys/sysevent/*.h
-noinst_HEADERS += $(top_srcdir)/include/sys/*.h
-noinst_HEADERS += $(top_srcdir)/include/util/*.h
-noinst_HEADERS += $(top_srcdir)/include/vm/*.h
+SUBDIRS = fs linux rpc sharefs sys util vm
-install-data-local:
- release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
- instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
- instfiles=`find . -name '*.h'`; \
- for instfile in $$instfiles; do \
- $(INSTALL) -D $$instfile $$instdest/$$instfile; \
- done
+COMMON_H =
-uninstall-local:
- release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
- instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
- $(RM) -R $$instdest
+KERNEL_H = \
+ $(top_srcdir)/include/splat-ctl.h \
+ $(top_srcdir)/include/spl-ctl.h \
+ $(top_srcdir)/include/spl-debug.h \
+ $(top_srcdir)/include/spl-device.h \
+ $(top_srcdir)/include/spl-trace.h \
+ $(top_srcdir)/include/strings.h \
+ $(top_srcdir)/include/unistd.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/fs/Makefile.am b/include/fs/Makefile.am
new file mode 100644
index 000000000..2a3673712
--- /dev/null
+++ b/include/fs/Makefile.am
@@ -0,0 +1,13 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/fs/fs_subr.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/fs
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/fs/fs_subr.h b/include/fs/fs_subr.h
index 39499b532..33ccc684e 100644
--- a/include/fs/fs_subr.h
+++ b/include/fs/fs_subr.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
new file mode 100644
index 000000000..cf1f62ad1
--- /dev/null
+++ b/include/linux/Makefile.am
@@ -0,0 +1,28 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/linux/bitops_compat.h \
+ $(top_srcdir)/include/linux/compiler_compat.h \
+ $(top_srcdir)/include/linux/file_compat.h \
+ $(top_srcdir)/include/linux/kallsyms_compat.h \
+ $(top_srcdir)/include/linux/list_compat.h \
+ $(top_srcdir)/include/linux/math64_compat.h \
+ $(top_srcdir)/include/linux/mm_compat.h \
+ $(top_srcdir)/include/linux/module_compat.h \
+ $(top_srcdir)/include/linux/mutex_compat.h \
+ $(top_srcdir)/include/linux/proc_compat.h \
+ $(top_srcdir)/include/linux/rwsem_compat.h \
+ $(top_srcdir)/include/linux/smp_compat.h \
+ $(top_srcdir)/include/linux/sysctl_compat.h \
+ $(top_srcdir)/include/linux/time_compat.h \
+ $(top_srcdir)/include/linux/uaccess_compat.h \
+ $(top_srcdir)/include/linux/zlib_compat.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/linux
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/linux/bitops_compat.h b/include/linux/bitops_compat.h
index d466e0718..9c55844ad 100644
--- a/include/linux/bitops_compat.h
+++ b/include/linux/bitops_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/compiler_compat.h b/include/linux/compiler_compat.h
index de3b3c391..8dbbeee72 100644
--- a/include/linux/compiler_compat.h
+++ b/include/linux/compiler_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/file_compat.h b/include/linux/file_compat.h
index 3dc33278f..4588d6442 100644
--- a/include/linux/file_compat.h
+++ b/include/linux/file_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/kallsyms_compat.h b/include/linux/kallsyms_compat.h
index fbe33e8e6..1c7afa5dd 100644
--- a/include/linux/kallsyms_compat.h
+++ b/include/linux/kallsyms_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/list_compat.h b/include/linux/list_compat.h
index 26d5dfe07..d1e0d9d96 100644
--- a/include/linux/list_compat.h
+++ b/include/linux/list_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/math64_compat.h b/include/linux/math64_compat.h
index 652082ea2..2c911a64b 100644
--- a/include/linux/math64_compat.h
+++ b/include/linux/math64_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/mm_compat.h b/include/linux/mm_compat.h
index 21a1ef2c0..cb1bef9a4 100644
--- a/include/linux/mm_compat.h
+++ b/include/linux/mm_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/module_compat.h b/include/linux/module_compat.h
index 0261f6958..02f42a924 100644
--- a/include/linux/module_compat.h
+++ b/include/linux/module_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/mutex_compat.h b/include/linux/mutex_compat.h
index 39eb68c34..5955fc9a4 100644
--- a/include/linux/mutex_compat.h
+++ b/include/linux/mutex_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/proc_compat.h b/include/linux/proc_compat.h
index 3d8eda108..434ffa3f1 100644
--- a/include/linux/proc_compat.h
+++ b/include/linux/proc_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/rwsem_compat.h b/include/linux/rwsem_compat.h
index 757bb42af..80f348e4c 100644
--- a/include/linux/rwsem_compat.h
+++ b/include/linux/rwsem_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/smp_compat.h b/include/linux/smp_compat.h
index 31d42f909..8c2b54091 100644
--- a/include/linux/smp_compat.h
+++ b/include/linux/smp_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/sysctl_compat.h b/include/linux/sysctl_compat.h
index 93210e829..bc226537d 100644
--- a/include/linux/sysctl_compat.h
+++ b/include/linux/sysctl_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/time_compat.h b/include/linux/time_compat.h
index fa996d346..efa023299 100644
--- a/include/linux/time_compat.h
+++ b/include/linux/time_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/uaccess_compat.h b/include/linux/uaccess_compat.h
index c00669a57..c84e61d30 100644
--- a/include/linux/uaccess_compat.h
+++ b/include/linux/uaccess_compat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/linux/zlib_compat.h b/include/linux/zlib_compat.h
index 410dc485e..ba853c395 100644
--- a/include/linux/zlib_compat.h
+++ b/include/linux/zlib_compat.h
@@ -5,7 +5,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/rpc/Makefile.am b/include/rpc/Makefile.am
new file mode 100644
index 000000000..cb68f4501
--- /dev/null
+++ b/include/rpc/Makefile.am
@@ -0,0 +1,14 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/rpc/types.h \
+ $(top_srcdir)/include/rpc/xdr.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/rpc
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/rpc/types.h b/include/rpc/types.h
index 137a381dc..b57b4bd73 100644
--- a/include/rpc/types.h
+++ b/include/rpc/types.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index c828a38e3..d0f06b55f 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -3,7 +3,7 @@
* Written by Ricardo Correia <[email protected]>
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sharefs/Makefile.am b/include/sharefs/Makefile.am
new file mode 100644
index 000000000..b343c75b7
--- /dev/null
+++ b/include/sharefs/Makefile.am
@@ -0,0 +1,13 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sharefs/share.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sharefs
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/sharefs/share.h b/include/sharefs/share.h
index b3ad6993f..fc248a233 100644
--- a/include/sharefs/share.h
+++ b/include/sharefs/share.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/spl-ctl.h b/include/spl-ctl.h
index 9db139073..bb24490d9 100644
--- a/include/spl-ctl.h
+++ b/include/spl-ctl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/spl-debug.h b/include/spl-debug.h
index 42da3e4e8..c91b864c2 100644
--- a/include/spl-debug.h
+++ b/include/spl-debug.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/spl-device.h b/include/spl-device.h
index 6c3789cd7..b237cf1b0 100644
--- a/include/spl-device.h
+++ b/include/spl-device.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/spl-trace.h b/include/spl-trace.h
index 709b1326e..8ef173e76 100644
--- a/include/spl-trace.h
+++ b/include/spl-trace.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/splat-ctl.h b/include/splat-ctl.h
index b800887b8..ccf3644bd 100644
--- a/include/splat-ctl.h
+++ b/include/splat-ctl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/strings.h b/include/strings.h
index 65ee3e7c3..dc0f31466 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
new file mode 100644
index 000000000..37e958229
--- /dev/null
+++ b/include/sys/Makefile.am
@@ -0,0 +1,110 @@
+SUBDIRS = fm fs sysevent
+
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sys/acl.h \
+ $(top_srcdir)/include/sys/acl_impl.h \
+ $(top_srcdir)/include/sys/atomic.h \
+ $(top_srcdir)/include/sys/attr.h \
+ $(top_srcdir)/include/sys/bitmap.h \
+ $(top_srcdir)/include/sys/bootconf.h \
+ $(top_srcdir)/include/sys/bootprops.h \
+ $(top_srcdir)/include/sys/buf.h \
+ $(top_srcdir)/include/sys/byteorder.h \
+ $(top_srcdir)/include/sys/callb.h \
+ $(top_srcdir)/include/sys/cmn_err.h \
+ $(top_srcdir)/include/sys/compress.h \
+ $(top_srcdir)/include/sys/condvar.h \
+ $(top_srcdir)/include/sys/conf.h \
+ $(top_srcdir)/include/sys/console.h \
+ $(top_srcdir)/include/sys/cpupart.h \
+ $(top_srcdir)/include/sys/cpuvar.h \
+ $(top_srcdir)/include/sys/crc32.h \
+ $(top_srcdir)/include/sys/cred.h \
+ $(top_srcdir)/include/sys/ctype.h \
+ $(top_srcdir)/include/sys/ddi.h \
+ $(top_srcdir)/include/sys/debug.h \
+ $(top_srcdir)/include/sys/dirent.h \
+ $(top_srcdir)/include/sys/disp.h \
+ $(top_srcdir)/include/sys/dkio.h \
+ $(top_srcdir)/include/sys/dklabel.h \
+ $(top_srcdir)/include/sys/dnlc.h \
+ $(top_srcdir)/include/sys/dumphdr.h \
+ $(top_srcdir)/include/sys/efi_partition.h \
+ $(top_srcdir)/include/sys/errno.h \
+ $(top_srcdir)/include/sys/extdirent.h \
+ $(top_srcdir)/include/sys/fcntl.h \
+ $(top_srcdir)/include/sys/file.h \
+ $(top_srcdir)/include/sys/idmap.h \
+ $(top_srcdir)/include/sys/int_limits.h \
+ $(top_srcdir)/include/sys/int_types.h \
+ $(top_srcdir)/include/sys/inttypes.h \
+ $(top_srcdir)/include/sys/isa_defs.h \
+ $(top_srcdir)/include/sys/kidmap.h \
+ $(top_srcdir)/include/sys/kmem.h \
+ $(top_srcdir)/include/sys/kobj.h \
+ $(top_srcdir)/include/sys/kstat.h \
+ $(top_srcdir)/include/sys/list.h \
+ $(top_srcdir)/include/sys/mkdev.h \
+ $(top_srcdir)/include/sys/mntent.h \
+ $(top_srcdir)/include/sys/modctl.h \
+ $(top_srcdir)/include/sys/mode.h \
+ $(top_srcdir)/include/sys/mount.h \
+ $(top_srcdir)/include/sys/mutex.h \
+ $(top_srcdir)/include/sys/note.h \
+ $(top_srcdir)/include/sys/open.h \
+ $(top_srcdir)/include/sys/param.h \
+ $(top_srcdir)/include/sys/pathname.h \
+ $(top_srcdir)/include/sys/policy.h \
+ $(top_srcdir)/include/sys/pool.h \
+ $(top_srcdir)/include/sys/priv_impl.h \
+ $(top_srcdir)/include/sys/processor.h \
+ $(top_srcdir)/include/sys/proc.h \
+ $(top_srcdir)/include/sys/pset.h \
+ $(top_srcdir)/include/sys/random.h \
+ $(top_srcdir)/include/sys/refstr.h \
+ $(top_srcdir)/include/sys/resource.h \
+ $(top_srcdir)/include/sys/rwlock.h \
+ $(top_srcdir)/include/sys/sdt.h \
+ $(top_srcdir)/include/sys/sid.h \
+ $(top_srcdir)/include/sys/signal.h \
+ $(top_srcdir)/include/sys/stat.h \
+ $(top_srcdir)/include/sys/stropts.h \
+ $(top_srcdir)/include/sys/sunddi.h \
+ $(top_srcdir)/include/sys/sunldi.h \
+ $(top_srcdir)/include/sys/sysdc.h \
+ $(top_srcdir)/include/sys/sysevent.h \
+ $(top_srcdir)/include/sys/sysmacros.h \
+ $(top_srcdir)/include/sys/systeminfo.h \
+ $(top_srcdir)/include/sys/systm.h \
+ $(top_srcdir)/include/sys/taskq.h \
+ $(top_srcdir)/include/sys/thread.h \
+ $(top_srcdir)/include/sys/time.h \
+ $(top_srcdir)/include/sys/timer.h \
+ $(top_srcdir)/include/sys/t_lock.h \
+ $(top_srcdir)/include/sys/tsd.h \
+ $(top_srcdir)/include/sys/types32.h \
+ $(top_srcdir)/include/sys/types.h \
+ $(top_srcdir)/include/sys/u8_textprep.h \
+ $(top_srcdir)/include/sys/uio.h \
+ $(top_srcdir)/include/sys/unistd.h \
+ $(top_srcdir)/include/sys/utsname.h \
+ $(top_srcdir)/include/sys/va_list.h \
+ $(top_srcdir)/include/sys/varargs.h \
+ $(top_srcdir)/include/sys/vfs.h \
+ $(top_srcdir)/include/sys/vfs_opreg.h \
+ $(top_srcdir)/include/sys/vmsystm.h \
+ $(top_srcdir)/include/sys/vnode.h \
+ $(top_srcdir)/include/sys/zmod.h \
+ $(top_srcdir)/include/sys/zone.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sys
+kernel_HEADERS = $(KERNEL_H)
+endif
+
diff --git a/include/sys/acl.h b/include/sys/acl.h
index 39a1cc29c..f4a3de599 100644
--- a/include/sys/acl.h
+++ b/include/sys/acl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/acl_impl.h b/include/sys/acl_impl.h
index 9bc45ff96..67af71371 100644
--- a/include/sys/acl_impl.h
+++ b/include/sys/acl_impl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/atomic.h b/include/sys/atomic.h
index 1d1173894..31d35eb14 100644
--- a/include/sys/atomic.h
+++ b/include/sys/atomic.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/attr.h b/include/sys/attr.h
index 42f21cfeb..5fb609c93 100644
--- a/include/sys/attr.h
+++ b/include/sys/attr.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/bitmap.h b/include/sys/bitmap.h
index 85dcb2e3b..e4acb0b7d 100644
--- a/include/sys/bitmap.h
+++ b/include/sys/bitmap.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/bootconf.h b/include/sys/bootconf.h
index b9d40527c..4e032ad2f 100644
--- a/include/sys/bootconf.h
+++ b/include/sys/bootconf.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/bootprops.h b/include/sys/bootprops.h
index e4b355032..a562ec9f9 100644
--- a/include/sys/bootprops.h
+++ b/include/sys/bootprops.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/buf.h b/include/sys/buf.h
index b1ffa479c..8596c835c 100644
--- a/include/sys/buf.h
+++ b/include/sys/buf.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/byteorder.h b/include/sys/byteorder.h
index d09f5bf3e..5350a0b33 100644
--- a/include/sys/byteorder.h
+++ b/include/sys/byteorder.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/callb.h b/include/sys/callb.h
index 9db823650..fbe4128f8 100644
--- a/include/sys/callb.h
+++ b/include/sys/callb.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/cmn_err.h b/include/sys/cmn_err.h
index 9359c1a3b..1291510ec 100644
--- a/include/sys/cmn_err.h
+++ b/include/sys/cmn_err.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/compress.h b/include/sys/compress.h
index 8095cff9c..55822f0e5 100644
--- a/include/sys/compress.h
+++ b/include/sys/compress.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/condvar.h b/include/sys/condvar.h
index 62210357d..c825bd2e4 100644
--- a/include/sys/condvar.h
+++ b/include/sys/condvar.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/conf.h b/include/sys/conf.h
index bca0ebf05..eece0c798 100644
--- a/include/sys/conf.h
+++ b/include/sys/conf.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/console.h b/include/sys/console.h
index 31d419923..76ef61838 100644
--- a/include/sys/console.h
+++ b/include/sys/console.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/cpupart.h b/include/sys/cpupart.h
index 8416c99b6..fddeed6d0 100644
--- a/include/sys/cpupart.h
+++ b/include/sys/cpupart.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/cpuvar.h b/include/sys/cpuvar.h
index ca5a8b0a0..1284f940f 100644
--- a/include/sys/cpuvar.h
+++ b/include/sys/cpuvar.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/crc32.h b/include/sys/crc32.h
index 000a1dca5..1981f3579 100644
--- a/include/sys/crc32.h
+++ b/include/sys/crc32.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/cred.h b/include/sys/cred.h
index 778d05255..6c905884b 100644
--- a/include/sys/cred.h
+++ b/include/sys/cred.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/ctype.h b/include/sys/ctype.h
index 7ec2bc7fa..52037f9a1 100644
--- a/include/sys/ctype.h
+++ b/include/sys/ctype.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/ddi.h b/include/sys/ddi.h
index 903b1dd13..2fa1388fd 100644
--- a/include/sys/ddi.h
+++ b/include/sys/ddi.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/debug.h b/include/sys/debug.h
index 271dbc210..25ff88e3a 100644
--- a/include/sys/debug.h
+++ b/include/sys/debug.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/dirent.h b/include/sys/dirent.h
index b99542e85..68f75da57 100644
--- a/include/sys/dirent.h
+++ b/include/sys/dirent.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/disp.h b/include/sys/disp.h
index 2a4b4ded8..9614a47c4 100644
--- a/include/sys/disp.h
+++ b/include/sys/disp.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/dkio.h b/include/sys/dkio.h
index 591fbf51d..d8c700718 100644
--- a/include/sys/dkio.h
+++ b/include/sys/dkio.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/dklabel.h b/include/sys/dklabel.h
index bd42622d1..74c0d506f 100644
--- a/include/sys/dklabel.h
+++ b/include/sys/dklabel.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/dnlc.h b/include/sys/dnlc.h
index b63c94fef..6834e067d 100644
--- a/include/sys/dnlc.h
+++ b/include/sys/dnlc.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/dumphdr.h b/include/sys/dumphdr.h
index 07396e2e6..1b45058ad 100644
--- a/include/sys/dumphdr.h
+++ b/include/sys/dumphdr.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/efi_partition.h b/include/sys/efi_partition.h
index 75df64f92..c39236423 100644
--- a/include/sys/efi_partition.h
+++ b/include/sys/efi_partition.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/errno.h b/include/sys/errno.h
index e6b446803..64d8482dc 100644
--- a/include/sys/errno.h
+++ b/include/sys/errno.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/extdirent.h b/include/sys/extdirent.h
index d9af31039..1a5c03145 100644
--- a/include/sys/extdirent.h
+++ b/include/sys/extdirent.h
@@ -5,7 +5,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/fcntl.h b/include/sys/fcntl.h
index 4e260a4b8..88b7a6928 100644
--- a/include/sys/fcntl.h
+++ b/include/sys/fcntl.h
@@ -5,7 +5,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/file.h b/include/sys/file.h
index fbeb8e258..67b301c6e 100644
--- a/include/sys/file.h
+++ b/include/sys/file.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/fm/Makefile.am b/include/sys/fm/Makefile.am
new file mode 100644
index 000000000..a073d2a3b
--- /dev/null
+++ b/include/sys/fm/Makefile.am
@@ -0,0 +1,14 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sys/fm/protocol.h \
+ $(top_srcdir)/include/sys/fm/util.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sys/fm
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/sys/fm/protocol.h b/include/sys/fm/protocol.h
index 8c47f7c9b..e9ce6ff6c 100644
--- a/include/sys/fm/protocol.h
+++ b/include/sys/fm/protocol.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/fm/util.h b/include/sys/fm/util.h
index 40b8d47b2..7f2dbde9c 100644
--- a/include/sys/fm/util.h
+++ b/include/sys/fm/util.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/fs/Makefile.am b/include/sys/fs/Makefile.am
new file mode 100644
index 000000000..3805a5ed3
--- /dev/null
+++ b/include/sys/fs/Makefile.am
@@ -0,0 +1,13 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sys/fs/swapnode.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sys/fs
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/sys/fs/swapnode.h b/include/sys/fs/swapnode.h
index 31be71620..a5df1298d 100644
--- a/include/sys/fs/swapnode.h
+++ b/include/sys/fs/swapnode.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/idmap.h b/include/sys/idmap.h
index b3c7c0f43..3618c655c 100644
--- a/include/sys/idmap.h
+++ b/include/sys/idmap.h
@@ -5,7 +5,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/int_limits.h b/include/sys/int_limits.h
index ed4ad9d19..64f0a1102 100644
--- a/include/sys/int_limits.h
+++ b/include/sys/int_limits.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/int_types.h b/include/sys/int_types.h
index c97f47f6b..582fded20 100644
--- a/include/sys/int_types.h
+++ b/include/sys/int_types.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/inttypes.h b/include/sys/inttypes.h
index 6f7020134..82e555cdd 100644
--- a/include/sys/inttypes.h
+++ b/include/sys/inttypes.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/isa_defs.h b/include/sys/isa_defs.h
index 02136c596..35aee61c9 100644
--- a/include/sys/isa_defs.h
+++ b/include/sys/isa_defs.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/kidmap.h b/include/sys/kidmap.h
index ed87b9f7f..3d67b51a8 100644
--- a/include/sys/kidmap.h
+++ b/include/sys/kidmap.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/kmem.h b/include/sys/kmem.h
index d5d3061a5..516114fd7 100644
--- a/include/sys/kmem.h
+++ b/include/sys/kmem.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/kobj.h b/include/sys/kobj.h
index b682e3f9d..f95fa8039 100644
--- a/include/sys/kobj.h
+++ b/include/sys/kobj.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/kstat.h b/include/sys/kstat.h
index 06379f827..9275c1ea4 100644
--- a/include/sys/kstat.h
+++ b/include/sys/kstat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/list.h b/include/sys/list.h
index 303b959de..563784ae4 100644
--- a/include/sys/list.h
+++ b/include/sys/list.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/mkdev.h b/include/sys/mkdev.h
index 89a9000d4..d765b7374 100644
--- a/include/sys/mkdev.h
+++ b/include/sys/mkdev.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/mntent.h b/include/sys/mntent.h
index 5f0565f4c..66fae87d4 100644
--- a/include/sys/mntent.h
+++ b/include/sys/mntent.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/modctl.h b/include/sys/modctl.h
index 52f679ad5..8d79e5312 100644
--- a/include/sys/modctl.h
+++ b/include/sys/modctl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/mode.h b/include/sys/mode.h
index ddd504f9f..d09965e4a 100644
--- a/include/sys/mode.h
+++ b/include/sys/mode.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/mount.h b/include/sys/mount.h
index 5b33a6d3a..ca1796d7d 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/mutex.h b/include/sys/mutex.h
index 905eed50e..ec3cfd529 100644
--- a/include/sys/mutex.h
+++ b/include/sys/mutex.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/note.h b/include/sys/note.h
index 6fcffc22e..511756272 100644
--- a/include/sys/note.h
+++ b/include/sys/note.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/open.h b/include/sys/open.h
index aafedd0a1..e3ebd8c84 100644
--- a/include/sys/open.h
+++ b/include/sys/open.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/param.h b/include/sys/param.h
index 5a1994960..5b5b5f550 100644
--- a/include/sys/param.h
+++ b/include/sys/param.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/pathname.h b/include/sys/pathname.h
index d22c4f297..71ea441cb 100644
--- a/include/sys/pathname.h
+++ b/include/sys/pathname.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/policy.h b/include/sys/policy.h
index 950ec9554..45e724bc5 100644
--- a/include/sys/policy.h
+++ b/include/sys/policy.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/pool.h b/include/sys/pool.h
index 95aea6a09..bf6a0bb7d 100644
--- a/include/sys/pool.h
+++ b/include/sys/pool.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/priv_impl.h b/include/sys/priv_impl.h
index 28fa203a6..f1507a89e 100644
--- a/include/sys/priv_impl.h
+++ b/include/sys/priv_impl.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/proc.h b/include/sys/proc.h
index 1c02c676e..dbaf4162f 100644
--- a/include/sys/proc.h
+++ b/include/sys/proc.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/processor.h b/include/sys/processor.h
index 65438a4da..60b1a211b 100644
--- a/include/sys/processor.h
+++ b/include/sys/processor.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/pset.h b/include/sys/pset.h
index 9b0ebc4f8..2723d310b 100644
--- a/include/sys/pset.h
+++ b/include/sys/pset.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/random.h b/include/sys/random.h
index 8960240b1..2bf581f26 100644
--- a/include/sys/random.h
+++ b/include/sys/random.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/refstr.h b/include/sys/refstr.h
index a8d0edbfe..49a3417d1 100644
--- a/include/sys/refstr.h
+++ b/include/sys/refstr.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/resource.h b/include/sys/resource.h
index 68e3d2500..fe336555f 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/rwlock.h b/include/sys/rwlock.h
index 9d29ad679..9dfbfe545 100644
--- a/include/sys/rwlock.h
+++ b/include/sys/rwlock.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sdt.h b/include/sys/sdt.h
index ed4680df9..6c8395f99 100644
--- a/include/sys/sdt.h
+++ b/include/sys/sdt.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sid.h b/include/sys/sid.h
index 17e32e25f..8ee5d0727 100644
--- a/include/sys/sid.h
+++ b/include/sys/sid.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/signal.h b/include/sys/signal.h
index 254bf0641..823fea329 100644
--- a/include/sys/signal.h
+++ b/include/sys/signal.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/stat.h b/include/sys/stat.h
index ccc01a025..cde7556a6 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/stropts.h b/include/sys/stropts.h
index ae20c4d70..25c7ee18f 100644
--- a/include/sys/stropts.h
+++ b/include/sys/stropts.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sunddi.h b/include/sys/sunddi.h
index c3368083b..545803afd 100644
--- a/include/sys/sunddi.h
+++ b/include/sys/sunddi.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sunldi.h b/include/sys/sunldi.h
index a1a6a12c2..b4ff7391a 100644
--- a/include/sys/sunldi.h
+++ b/include/sys/sunldi.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sysdc.h b/include/sys/sysdc.h
index b1000013f..14ab48aa6 100644
--- a/include/sys/sysdc.h
+++ b/include/sys/sysdc.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sysevent.h b/include/sys/sysevent.h
index 723220f0f..5a7ca41ce 100644
--- a/include/sys/sysevent.h
+++ b/include/sys/sysevent.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am
new file mode 100644
index 000000000..d2247d747
--- /dev/null
+++ b/include/sys/sysevent/Makefile.am
@@ -0,0 +1,13 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sys/sysevent/eventdefs.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/sys/sysevent
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/sys/sysevent/eventdefs.h b/include/sys/sysevent/eventdefs.h
index 2112e29ed..592c78a64 100644
--- a/include/sys/sysevent/eventdefs.h
+++ b/include/sys/sysevent/eventdefs.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index 04a62b196..7c4da67fc 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/systeminfo.h b/include/sys/systeminfo.h
index a32f7142e..e22a08530 100644
--- a/include/sys/systeminfo.h
+++ b/include/sys/systeminfo.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/systm.h b/include/sys/systm.h
index f3e310a13..3336fb357 100644
--- a/include/sys/systm.h
+++ b/include/sys/systm.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/t_lock.h b/include/sys/t_lock.h
index 1055f7f6a..6c159f933 100644
--- a/include/sys/t_lock.h
+++ b/include/sys/t_lock.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/taskq.h b/include/sys/taskq.h
index 3839de288..7b44e8b8a 100644
--- a/include/sys/taskq.h
+++ b/include/sys/taskq.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/thread.h b/include/sys/thread.h
index 3a708236c..369b3061d 100644
--- a/include/sys/thread.h
+++ b/include/sys/thread.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/time.h b/include/sys/time.h
index 341b531ef..f8d78d194 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/timer.h b/include/sys/timer.h
index ea6043696..096eb1a4e 100644
--- a/include/sys/timer.h
+++ b/include/sys/timer.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/tsd.h b/include/sys/tsd.h
index a31f60605..ebc55b09b 100644
--- a/include/sys/tsd.h
+++ b/include/sys/tsd.h
@@ -5,7 +5,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/types.h b/include/sys/types.h
index b867be111..decb6bba8 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/types32.h b/include/sys/types32.h
index 25c4642dc..6ee580f4e 100644
--- a/include/sys/types32.h
+++ b/include/sys/types32.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/u8_textprep.h b/include/sys/u8_textprep.h
index 456077c6f..0a21c708c 100644
--- a/include/sys/u8_textprep.h
+++ b/include/sys/u8_textprep.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 87da72701..25c5f4a01 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/unistd.h b/include/sys/unistd.h
index a2acfa705..e1d93c61e 100644
--- a/include/sys/unistd.h
+++ b/include/sys/unistd.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/utsname.h b/include/sys/utsname.h
index fa403ff52..3d979c13a 100644
--- a/include/sys/utsname.h
+++ b/include/sys/utsname.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/va_list.h b/include/sys/va_list.h
index 644812881..9fa173b58 100644
--- a/include/sys/va_list.h
+++ b/include/sys/va_list.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/varargs.h b/include/sys/varargs.h
index b74570c21..bf360ff4d 100644
--- a/include/sys/varargs.h
+++ b/include/sys/varargs.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/vfs.h b/include/sys/vfs.h
index 88ca21d52..f01dc11cb 100644
--- a/include/sys/vfs.h
+++ b/include/sys/vfs.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/vfs_opreg.h b/include/sys/vfs_opreg.h
index 5dda4d36b..d3540c593 100644
--- a/include/sys/vfs_opreg.h
+++ b/include/sys/vfs_opreg.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h
index b8191f3ac..9c52d2824 100644
--- a/include/sys/vmsystm.h
+++ b/include/sys/vmsystm.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/vnode.h b/include/sys/vnode.h
index 99614d55b..35607e1ea 100644
--- a/include/sys/vnode.h
+++ b/include/sys/vnode.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/zmod.h b/include/sys/zmod.h
index a6519dec2..15b0bc8e7 100644
--- a/include/sys/zmod.h
+++ b/include/sys/zmod.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/sys/zone.h b/include/sys/zone.h
index 9c2652fd2..6b7a1c65f 100644
--- a/include/sys/zone.h
+++ b/include/sys/zone.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/unistd.h b/include/unistd.h
index a2acfa705..e1d93c61e 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/util/Makefile.am b/include/util/Makefile.am
new file mode 100644
index 000000000..61fdff0bc
--- /dev/null
+++ b/include/util/Makefile.am
@@ -0,0 +1,14 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/util/qsort.h \
+ $(top_srcdir)/include/util/sscanf.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/util
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/util/qsort.h b/include/util/qsort.h
index 890674acd..e55c4f8cc 100644
--- a/include/util/qsort.h
+++ b/include/util/qsort.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/util/sscanf.h b/include/util/sscanf.h
index 4ea907148..23f0b5db0 100644
--- a/include/util/sscanf.h
+++ b/include/util/sscanf.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/vm/Makefile.am b/include/vm/Makefile.am
new file mode 100644
index 000000000..9b09929db
--- /dev/null
+++ b/include/vm/Makefile.am
@@ -0,0 +1,15 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/vm/anon.h \
+ $(top_srcdir)/include/vm/pvn.h \
+ $(top_srcdir)/include/vm/seg_kmem.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/vm
+kernel_HEADERS = $(KERNEL_H)
+endif
diff --git a/include/vm/anon.h b/include/vm/anon.h
index 51e8512ba..9c9c23959 100644
--- a/include/vm/anon.h
+++ b/include/vm/anon.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/vm/pvn.h b/include/vm/pvn.h
index c206b1b77..f3b308137 100644
--- a/include/vm/pvn.h
+++ b/include/vm/pvn.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
diff --git a/include/vm/seg_kmem.h b/include/vm/seg_kmem.h
index b21f71a52..17df7b961 100644
--- a/include/vm/seg_kmem.h
+++ b/include/vm/seg_kmem.h
@@ -6,7 +6,7 @@
* UCRL-CODE-235197
*
* This file is part of the SPL, Solaris Porting Layer.
- * For details, see <http://github.com/behlendorf/spl/>.
+ * For details, see <http://zfsonlinux.org/>.
*
* The SPL is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the