1 AC_DEFUN([ZFS_AC_KERNEL_SRC_MM_PAGE_FLAG_ERROR], [
2 ZFS_LINUX_TEST_SRC([mm_page_flag_error], [
3 #include <linux/page-flags.h>
6 test_flag __attribute__((unused)) = PG_error;
9 AC_DEFUN([ZFS_AC_KERNEL_MM_PAGE_FLAG_ERROR], [
10 AC_MSG_CHECKING([whether PG_error flag is available])
11 ZFS_LINUX_TEST_RESULT([mm_page_flag_error], [
13 AC_DEFINE(HAVE_MM_PAGE_FLAG_ERROR, 1, [PG_error flag is available])
19 AC_DEFUN([ZFS_AC_KERNEL_SRC_MM_PAGE_FLAGS], [
20 ZFS_AC_KERNEL_SRC_MM_PAGE_FLAG_ERROR
22 AC_DEFUN([ZFS_AC_KERNEL_MM_PAGE_FLAGS], [
23 ZFS_AC_KERNEL_MM_PAGE_FLAG_ERROR