1 AC_DEFUN([ZFS_AC_KERNEL_SRC_MM_PAGE_SIZE], [
2 ZFS_LINUX_TEST_SRC([page_size], [
9 AC_DEFUN([ZFS_AC_KERNEL_MM_PAGE_SIZE], [
10 AC_MSG_CHECKING([whether page_size() is available])
11 ZFS_LINUX_TEST_RESULT([page_size], [
13 AC_DEFINE(HAVE_MM_PAGE_SIZE, 1, [page_size() is available])
20 AC_DEFUN([ZFS_AC_KERNEL_SRC_MM_PAGE_MAPPING], [
21 ZFS_LINUX_TEST_SRC([page_mapping], [
22 #include <linux/pagemap.h>
24 struct address_space *m;
25 m = page_mapping(NULL);
28 AC_DEFUN([ZFS_AC_KERNEL_MM_PAGE_MAPPING], [
29 AC_MSG_CHECKING([whether page_mapping() is available])
30 ZFS_LINUX_TEST_RESULT([page_mapping], [
32 AC_DEFINE(HAVE_MM_PAGE_MAPPING, 1, [page_mapping() is available])