diff --git a/.gitignore b/.gitignore index 94308186f..97887eb0e 100644 --- a/.gitignore +++ b/.gitignore @@ -44,8 +44,6 @@ Makefile.in /spl-modules.spec /spl.release /dkms.conf -/PKGBUILD-spl -/PKGBUILD-spl-modules /stamp-h1 /aclocal.m4 /autom4te.cache diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 8b82ade08..000000000 --- a/INSTALL +++ /dev/null @@ -1,291 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007, 2008 Free Software Foundation, Inc. - - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 6. Often, you can also type `make uninstall' to remove the installed - files again. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *Note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/Makefile.am b/Makefile.am index 74c292093..4d8ab0e33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,13 @@ include $(top_srcdir)/config/rpm.am include $(top_srcdir)/config/deb.am include $(top_srcdir)/config/tgz.am -include $(top_srcdir)/config/arch.am -SUBDIRS = +SUBDIRS = include if CONFIG_USER SUBDIRS += lib cmd scripts endif if CONFIG_KERNEL -SUBDIRS += module include +SUBDIRS += module endif AUTOMAKE_OPTIONS = foreign @@ -34,7 +33,7 @@ install-data-local: release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ - $(INSTALL) -D $$instfile $$instdest/$$instfile; \ + $(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \ done endif diff --git a/PKGBUILD-spl-modules.in b/PKGBUILD-spl-modules.in deleted file mode 100644 index a04bd4fcf..000000000 --- a/PKGBUILD-spl-modules.in +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Prakash Surya -pkgname=@SPL_META_NAME@-modules -pkgver=@SPL_META_VERSION@ -pkgrel=@SPL_META_RELEASE@ -pkgdesc="Contains kernel modules for emulating Solaris style primatives in the linux kernel." -arch=(x86_64) -url="git://github.com/zfsonlinux/spl.git" -license=(@LICENSE@) -source=(@SPL_META_NAME@-@SPL_META_VERSION@.tar.gz) - -build() { - cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@ - ./configure --with-config=kernel \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib - make -} - -package() { - cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@ - make DESTDIR=$pkgdir install -} diff --git a/PKGBUILD-spl.in b/PKGBUILD-spl.in deleted file mode 100644 index bc27f4626..000000000 --- a/PKGBUILD-spl.in +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Prakash Surya -pkgname=@SPL_META_NAME@ -pkgver=@SPL_META_VERSION@ -pkgrel=@SPL_META_RELEASE@ -pkgdesc="Contains the support utilities for the spl." -arch=(x86_64) -url="git://github.com/zfsonlinux/spl.git" -license=(@LICENSE@) -source=(@SPL_META_NAME@-@SPL_META_VERSION@.tar.gz) - -build() { - cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@ - ./configure --with-config=user \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib - make -} - -package() { - cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@ - make DESTDIR=$pkgdir install -} diff --git a/cmd/spl.c b/cmd/spl.c index a77ad9ca4..3028e3ab0 100644 --- a/cmd/spl.c +++ b/cmd/spl.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/cmd/splat.c b/cmd/splat.c index f4caa5639..92962393d 100644 --- a/cmd/splat.c +++ b/cmd/splat.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/cmd/splat.h b/cmd/splat.h index dd943124e..5b838af3a 100644 --- a/cmd/splat.h +++ b/cmd/splat.h @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/config/arch.am b/config/arch.am deleted file mode 100644 index da43fe738..000000000 --- a/config/arch.am +++ /dev/null @@ -1,44 +0,0 @@ -############################################################################### -# Written by Prakash Surya -############################################################################### -# Build targets for RPM packages. -############################################################################### - -sarch-modules: - $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common - -sarch-utils: - $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common - -sarch: sarch-modules sarch-utils - -arch-modules: -if CONFIG_KERNEL - $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common -endif - -arch-utils: -if CONFIG_USER - $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common -endif - -arch: arch-modules arch-utils - -arch-local: - @(if test "${HAVE_MAKEPKG}" = "no"; then \ - echo -e "\n" \ - "*** Required util ${MAKEPKG} missing. Please install the\n" \ - "*** package for your distribution which provides ${MAKEPKG},\n" \ - "*** re-run configure, and try again.\n"; \ - exit 1; \ - fi;) - -sarch-common: dist - pkgbuild=PKGBUILD-$(pkg); \ - $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \ - $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1; - -arch-common: dist - pkgbuild=PKGBUILD-$(pkg); \ - $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \ - $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1; diff --git a/config/spl-build.m4 b/config/spl-build.m4 index 4cb7e1da2..3dcc05e65 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -302,48 +302,6 @@ AC_DEFUN([SPL_AC_DPKG], [ AC_SUBST(DPKGBUILD_VERSION) ]) -dnl # -dnl # Check for pacman+makepkg to build Arch Linux packages. If these -dnl # tools are missing it is non-fatal but you will not be able to -dnl # build Arch Linux packages and will be warned if you try too. -dnl # -AC_DEFUN([SPL_AC_PACMAN], [ - PACMAN=pacman - MAKEPKG=makepkg - - AC_MSG_CHECKING([whether $PACMAN is available]) - tmp=$($PACMAN --version 2>/dev/null) - AS_IF([test -n "$tmp"], [ - PACMAN_VERSION=$(echo $tmp | - $AWK '/Pacman/ { print $[3] }' | - $SED 's/^v//') - HAVE_PACMAN=yes - AC_MSG_RESULT([$HAVE_PACMAN ($PACMAN_VERSION)]) - ],[ - HAVE_PACMAN=no - AC_MSG_RESULT([$HAVE_PACMAN]) - ]) - - AC_MSG_CHECKING([whether $MAKEPKG is available]) - tmp=$($MAKEPKG --version 2>/dev/null) - AS_IF([test -n "$tmp"], [ - MAKEPKG_VERSION=$(echo $tmp | $AWK '/makepkg/ { print $[3] }') - HAVE_MAKEPKG=yes - AC_MSG_RESULT([$HAVE_MAKEPKG ($MAKEPKG_VERSION)]) - ],[ - HAVE_MAKEPKG=no - AC_MSG_RESULT([$HAVE_MAKEPKG]) - ]) - - AC_SUBST(HAVE_PACMAN) - AC_SUBST(PACMAN) - AC_SUBST(PACMAN_VERSION) - - AC_SUBST(HAVE_MAKEPKG) - AC_SUBST(MAKEPKG) - AC_SUBST(MAKEPKG_VERSION) -]) - dnl # dnl # Until native packaging for various different packing systems dnl # can be added the least we can do is attempt to use alien to @@ -406,7 +364,7 @@ AC_DEFUN([SPL_AC_DEFAULT_PACKAGE], [ redhat) DEFAULT_PACKAGE=rpm ;; fedora) DEFAULT_PACKAGE=rpm ;; gentoo) DEFAULT_PACKAGE=tgz ;; - arch) DEFAULT_PACKAGE=arch ;; + arch) DEFAULT_PACKAGE=tgz ;; sles) DEFAULT_PACKAGE=rpm ;; slackware) DEFAULT_PACKAGE=tgz ;; lunar) DEFAULT_PACKAGE=tgz ;; @@ -427,8 +385,6 @@ AC_DEFUN([SPL_AC_PACKAGE], [ SPL_AC_RPM SPL_AC_DPKG SPL_AC_ALIEN - - AS_IF([test "$VENDOR" = "arch"], [SPL_AC_PACMAN]) ]) AC_DEFUN([SPL_AC_LICENSE], [ diff --git a/configure.ac b/configure.ac index 27d3356ec..c71bc1f53 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ # UCRL-CODE-235197 # # This file is part of the SPL, Solaris Porting Layer. -# For details, see . +# For details, see . # # 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 @@ -53,11 +53,19 @@ AC_CONFIG_FILES([ module/spl/Makefile module/splat/Makefile include/Makefile + include/fs/Makefile + include/linux/Makefile + include/rpc/Makefile + include/sharefs/Makefile + include/sys/Makefile + include/sys/fm/Makefile + include/sys/fs/Makefile + include/sys/sysevent/Makefile + include/util/Makefile + include/vm/Makefile scripts/Makefile spl.spec spl-modules.spec - PKGBUILD-spl - PKGBUILD-spl-modules spl.release dkms.conf ]) 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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 . + * For details, see . * * 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/module/Makefile.in b/module/Makefile.in index d291951f8..49bdaa808 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -1,7 +1,7 @@ subdir-m += spl subdir-m += splat -INSTALL=/usr/bin/install +INSTALL_MOD_DIR ?= extra SPL_MODULE_CFLAGS = -I@abs_top_srcdir@/include SPL_MODULE_CFLAGS += -include @abs_top_builddir@/spl_config.h @@ -15,27 +15,30 @@ clean: @# is defined. This indicates that kernel modules should be built. @CONFIG_KERNEL_TRUE@ $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@ - if [ -f '@LINUX_SYMBOLS@' ]; then $(RM) '@LINUX_SYMBOLS@'; fi + if [ -f @LINUX_SYMBOLS@ ]; then $(RM) @LINUX_SYMBOLS@; fi if [ -f Module.markers ]; then $(RM) Module.markers; fi modules_install: @# Install the kernel modules - $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \ - INSTALL_MOD_PATH=$(DESTDIR) \ - INSTALL_MOD_DIR=addon/spl $@ + $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` $@ \ + INSTALL_MOD_PATH=$(DESTDIR)$(INSTALL_MOD_PATH) \ + INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) @# Remove extraneous build products when packaging - if [ -n "$(DESTDIR)" ]; then \ - find $(DESTDIR)/lib/modules/@LINUX_VERSION@ \ - -name 'modules.*' | xargs $(RM); \ + kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \ + if [ -n $$kmoddir ]; then \ + find $$kmoddir -name 'modules.*' | xargs $(RM); \ fi - sysmap=$(DESTDIR)/boot/System.map-@LINUX_VERSION@; \ + sysmap=$(DESTDIR)$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \ if [ -f $$sysmap ]; then \ depmod -ae -F $$sysmap @LINUX_VERSION@; \ fi modules_uninstall: @# Uninstall the kernel modules - $(RM) -R $(DESTDIR)/lib/modules/@LINUX_VERSION@/addon/spl + kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@ + list='$(subdir-m)'; for subdir in $$list; do \ + $(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$subdir; \ + done distdir: list='$(subdir-m)'; for subdir in $$list; do \ diff --git a/module/spl/spl-atomic.c b/module/spl/spl-atomic.c index e37b96907..c46252c10 100644 --- a/module/spl/spl-atomic.c +++ b/module/spl/spl-atomic.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-condvar.c b/module/spl/spl-condvar.c index fefe98598..60cf726f9 100644 --- a/module/spl/spl-condvar.c +++ b/module/spl/spl-condvar.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-cred.c b/module/spl/spl-cred.c index ce3425d32..e669cbf5d 100644 --- a/module/spl/spl-cred.c +++ b/module/spl/spl-cred.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-debug.c b/module/spl/spl-debug.c index 3c3dab0c8..37599acdd 100644 --- a/module/spl/spl-debug.c +++ b/module/spl/spl-debug.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-err.c b/module/spl/spl-err.c index c837d1eaa..b6d15f019 100644 --- a/module/spl/spl-err.c +++ b/module/spl/spl-err.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-generic.c b/module/spl/spl-generic.c index 39357617c..3cef48946 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-kmem.c b/module/spl/spl-kmem.c index 413aa1245..e3538b5ff 100644 --- a/module/spl/spl-kmem.c +++ b/module/spl/spl-kmem.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-kobj.c b/module/spl/spl-kobj.c index 684d57226..f14f47f5d 100644 --- a/module/spl/spl-kobj.c +++ b/module/spl/spl-kobj.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-kstat.c b/module/spl/spl-kstat.c index ea2d67dd4..b7e4b9426 100644 --- a/module/spl/spl-kstat.c +++ b/module/spl/spl-kstat.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-mutex.c b/module/spl/spl-mutex.c index d452681b1..f0e786da5 100644 --- a/module/spl/spl-mutex.c +++ b/module/spl/spl-mutex.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-proc.c b/module/spl/spl-proc.c index 2fb295439..cd4fa1b47 100644 --- a/module/spl/spl-proc.c +++ b/module/spl/spl-proc.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-rwlock.c b/module/spl/spl-rwlock.c index c0f974f1b..462a6f0de 100644 --- a/module/spl/spl-rwlock.c +++ b/module/spl/spl-rwlock.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-taskq.c b/module/spl/spl-taskq.c index c9ae0a50b..4feca0452 100644 --- a/module/spl/spl-taskq.c +++ b/module/spl/spl-taskq.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-thread.c b/module/spl/spl-thread.c index 71e5f331d..6b3bec509 100644 --- a/module/spl/spl-thread.c +++ b/module/spl/spl-thread.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-time.c b/module/spl/spl-time.c index 6ef9b8fc8..8f43b54cd 100644 --- a/module/spl/spl-time.c +++ b/module/spl/spl-time.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-tsd.c b/module/spl/spl-tsd.c index c63a55274..d7749cf7b 100644 --- a/module/spl/spl-tsd.c +++ b/module/spl/spl-tsd.c @@ -5,7 +5,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-vnode.c b/module/spl/spl-vnode.c index d8da9814b..4d571c6c4 100644 --- a/module/spl/spl-vnode.c +++ b/module/spl/spl-vnode.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-xdr.c b/module/spl/spl-xdr.c index eba470a4b..62efa31a5 100644 --- a/module/spl/spl-xdr.c +++ b/module/spl/spl-xdr.c @@ -3,7 +3,7 @@ * Written by Ricardo Correia * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/spl/spl-zlib.c b/module/spl/spl-zlib.c index 4f88cb4e0..807e743d5 100644 --- a/module/spl/spl-zlib.c +++ b/module/spl/spl-zlib.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-atomic.c b/module/splat/splat-atomic.c index efb01578a..df3b38f58 100644 --- a/module/splat/splat-atomic.c +++ b/module/splat/splat-atomic.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-condvar.c b/module/splat/splat-condvar.c index 1fe306cb2..1ddde39bb 100644 --- a/module/splat/splat-condvar.c +++ b/module/splat/splat-condvar.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-cred.c b/module/splat/splat-cred.c index 0efabd854..47dfa02f6 100644 --- a/module/splat/splat-cred.c +++ b/module/splat/splat-cred.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-ctl.c b/module/splat/splat-ctl.c index c68281a84..54b2ff459 100644 --- a/module/splat/splat-ctl.c +++ b/module/splat/splat-ctl.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-generic.c b/module/splat/splat-generic.c index 38df14d3b..ad03651d0 100644 --- a/module/splat/splat-generic.c +++ b/module/splat/splat-generic.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-internal.h b/module/splat/splat-internal.h index 14303a105..b138196f5 100644 --- a/module/splat/splat-internal.h +++ b/module/splat/splat-internal.h @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-kmem.c b/module/splat/splat-kmem.c index 789e75e56..0eab14217 100644 --- a/module/splat/splat-kmem.c +++ b/module/splat/splat-kmem.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-kobj.c b/module/splat/splat-kobj.c index c76795418..a0d4097d5 100644 --- a/module/splat/splat-kobj.c +++ b/module/splat/splat-kobj.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-linux.c b/module/splat/splat-linux.c index 0a1808f61..ce809e647 100644 --- a/module/splat/splat-linux.c +++ b/module/splat/splat-linux.c @@ -5,7 +5,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-list.c b/module/splat/splat-list.c index 34b570f39..f59394c14 100644 --- a/module/splat/splat-list.c +++ b/module/splat/splat-list.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-mutex.c b/module/splat/splat-mutex.c index 9e6b24708..cc1d36869 100644 --- a/module/splat/splat-mutex.c +++ b/module/splat/splat-mutex.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-random.c b/module/splat/splat-random.c index 63d96444f..33b799bad 100644 --- a/module/splat/splat-random.c +++ b/module/splat/splat-random.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-rwlock.c b/module/splat/splat-rwlock.c index f4a010969..a865fb310 100644 --- a/module/splat/splat-rwlock.c +++ b/module/splat/splat-rwlock.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-taskq.c b/module/splat/splat-taskq.c index 5a9681e21..e4793d457 100644 --- a/module/splat/splat-taskq.c +++ b/module/splat/splat-taskq.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-thread.c b/module/splat/splat-thread.c index c54cbcd8a..a1e70db47 100644 --- a/module/splat/splat-thread.c +++ b/module/splat/splat-thread.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-time.c b/module/splat/splat-time.c index e6f8dc682..ca60c45c6 100644 --- a/module/splat/splat-time.c +++ b/module/splat/splat-time.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-vnode.c b/module/splat/splat-vnode.c index a7034c115..f3f17ec92 100644 --- a/module/splat/splat-vnode.c +++ b/module/splat/splat-vnode.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/module/splat/splat-zlib.c b/module/splat/splat-zlib.c index 852cf818f..c614c5e6c 100644 --- a/module/splat/splat-zlib.c +++ b/module/splat/splat-zlib.c @@ -6,7 +6,7 @@ * UCRL-CODE-235197 * * This file is part of the SPL, Solaris Porting Layer. - * For details, see . + * For details, see . * * 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/scripts/check.sh b/scripts/check.sh index 4334ff3a5..fc97cec23 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -7,7 +7,7 @@ # UCRL-CODE-235197 # # This file is part of the SPL, Solaris Porting Layer. -# For details, see . +# For details, see . # # 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/spl.spec.in b/spl.spec.in index 3872ae4b6..712c3879d 100644 --- a/spl.spec.in +++ b/spl.spec.in @@ -32,7 +32,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%doc AUTHORS COPYING DISCLAIMER INSTALL +%doc AUTHORS COPYING DISCLAIMER %{_sbindir}/* %post