freebsd-nq/config
Richard Yao c3d9c0df3e Linux 3.12 compat: New shrinker API
torvalds/linux@24f7c6 introduced a new shrinker API while
torvalds/linux@a0b021 dropped support for the old shrinker API.
This patch adds support for the new shrinker API by wrapping
the old one with the new one.

This change also reorganizes the autotools checks on the shrinker
API such that the configure script will fail early if an unknown
API is encountered in the future.

Support for the set_shrinker() API which was used by Linux 2.6.22
and older has been dropped.  As a general rule compatibility is
only maintained back to Linux 2.6.26.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/zfs#1732
Closes zfsonlinux/zfs#1822
Closes #293
Closes #307
2013-11-06 13:23:40 -08:00
..
.gitignore build: do not call boilerplate ourself 2013-04-02 11:08:46 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
deb.am Add --bump=0 to alien 2013-04-24 16:18:11 -07:00
rpm.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00
Rules.am build: use CPPFLAGS 2013-04-02 11:07:11 -07:00
spl-build.m4 Linux 3.12 compat: New shrinker API 2013-11-06 13:23:40 -08:00
spl-meta.m4 Support .nogitrelease file 2013-04-24 16:18:03 -07:00
tgz.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00