summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-12-15 10:40:22 -0800
committerBrian Behlendorf <[email protected]>2008-12-15 10:40:22 -0800
commit2bdf9cfae3333595b98baa8a7fd4a6fed6d0eb8b (patch)
treec8273d77f65f4862a9f7f2586e6dad7d2aaf4186 /config
parente631cff898728c4c9c2c074c187acf4114b7396a (diff)
Moving all kernel+user configure magic to the correct topic branches where the features are introduced or needed
Diffstat (limited to 'config')
-rw-r--r--config/zfs-build.m425
1 files changed, 0 insertions, 25 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index 074018207..149b96a04 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -361,28 +361,3 @@ AC_DEFUN([ZFS_CHECK_SYMBOL_EXPORT],
$3
fi
])
-
-dnl #
-dnl # 2.6.x API change
-dnl # bio_end_io_t uses 2 args (size was dropped from prototype)
-dnl #
-AC_DEFUN([ZFS_AC_2ARGS_BIO_END_IO_T],
- [AC_MSG_CHECKING([whether bio_end_io_t wants 2 args])
- tmp_flags="$EXTRA_KCFLAGS"
- EXTRA_KCFLAGS="-Werror"
- ZFS_LINUX_TRY_COMPILE([
- #include <linux/bio.h>
- ],[
- void (*wanted_end_io)(struct bio *, int) = NULL;
- bio_end_io_t *local_end_io;
-
- local_end_io = wanted_end_io;
- ],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_2ARGS_BIO_END_IO_T, 1,
- [bio_end_io_t wants 2 args])
- ],[
- AC_MSG_RESULT(no)
- ])
- EXTRA_KCFLAGS="$tmp_flags"
-])