2 dnl # 2.6.37 API change
3 dnl # kmap_atomic changed from assigning hard-coded named slot to using
4 dnl # push/pop based dynamical allocation.
6 AC_DEFUN([ZFS_AC_KERNEL_KMAP_ATOMIC_ARGS], [
7 AC_MSG_CHECKING([whether kmap_atomic wants 1 args])
8 ZFS_LINUX_TRY_COMPILE([
9 #include <linux/pagemap.h>
15 AC_DEFINE(HAVE_1ARG_KMAP_ATOMIC, 1,
16 [kmap_atomic wants 1 args])