diff options
| author | Richard Yao <ryao@gentoo.org> | 2014-03-21 15:07:28 +0000 |
|---|---|---|
| committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2014-03-24 18:08:55 +0000 |
| commit | 6b6b8d10418bc0679cecac7885a1e6d6ba4967a1 (patch) | |
| tree | 1ea92be0e54430603d8c3b2a8b85cf431bf4c132 /config | |
| parent | 0ed212dc0e858a68c912b517e7c63fa9d0dc2701 (diff) | |
Diffstat (limited to 'config')
| -rw-r--r-- | config/kernel-bdi-setup-and-register.m4 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/kernel-bdi-setup-and-register.m4 b/config/kernel-bdi-setup-and-register.m4 index cb8ed67a19b3..4196091e91be 100644 --- a/config/kernel-bdi-setup-and-register.m4 +++ b/config/kernel-bdi-setup-and-register.m4 @@ -1,14 +1,12 @@ dnl # dnl # 2.6.34 API change -dnl # The bdi_setup_and_register() helper function is available and +dnl # The bdi_setup_and_register() helper function is avilable and dnl # exported by the kernel. This is a trivial helper function but dnl # using it significantly simplifies the code surrounding setting dnl # up and tearing down the bdi structure. dnl # AC_DEFUN([ZFS_AC_KERNEL_BDI_SETUP_AND_REGISTER], [AC_MSG_CHECKING([whether bdi_setup_and_register() is available]) - tmp_flags="$EXTRA_KCFLAGS" - EXTRA_KCFLAGS="-Wno-unused-result" ZFS_LINUX_TRY_COMPILE_SYMBOL([ #include <linux/backing-dev.h> ], [ @@ -20,5 +18,4 @@ AC_DEFUN([ZFS_AC_KERNEL_BDI_SETUP_AND_REGISTER], ], [ AC_MSG_RESULT(no) ]) - EXTRA_KCFLAGS="$tmp_flags" ]) |
