3 dnl # kmap_atomic() was deprecated in favor of kmap_local_page()
5 AC_DEFUN([ZFS_AC_KERNEL_SRC_KMAP_LOCAL_PAGE], [
6 ZFS_LINUX_TEST_SRC([kmap_local_page], [
7 #include <linux/highmem.h>
10 kmap_local_page(&page);
14 AC_DEFUN([ZFS_AC_KERNEL_KMAP_LOCAL_PAGE], [
15 AC_MSG_CHECKING([whether kmap_local_page exists])
16 ZFS_LINUX_TEST_RESULT([kmap_local_page], [
18 AC_DEFINE(HAVE_KMAP_LOCAL_PAGE, 1,
19 [kernel has kmap_local_page])