Prefetch on deadlists merge
[zfs.git] / config / kernel-fmode-t.m4
blob5f111e21b443d3fe0e18cc9c683c9982ea9b51ea
1 dnl #
2 dnl # 2.6.28 API change,
3 dnl # check if fmode_t typedef is defined
4 dnl #
5 AC_DEFUN([ZFS_AC_KERNEL_SRC_FMODE_T], [
6         ZFS_LINUX_TEST_SRC([type_fmode_t], [
7                 #include <linux/types.h>
8         ],[
9                 fmode_t *ptr __attribute__ ((unused));
10         ])
13 AC_DEFUN([ZFS_AC_KERNEL_FMODE_T], [
14         AC_MSG_CHECKING([whether kernel defines fmode_t])
15         ZFS_LINUX_TEST_RESULT([type_fmode_t], [
16                 AC_MSG_RESULT([yes])
17         ],[
18                 ZFS_LINUX_TEST_ERROR([type_fmode_t])
19         ])