]>
Commit | Line | Data |
---|---|---|
17888ae3 CC |
1 | dnl # |
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. | |
5 | dnl # | |
608f8749 BB |
6 | AC_DEFUN([ZFS_AC_KERNEL_SRC_KMAP_ATOMIC_ARGS], [ |
7 | ZFS_LINUX_TEST_SRC([kmap_atomic], [ | |
17888ae3 CC |
8 | #include <linux/pagemap.h> |
9 | ],[ | |
10 | struct page page; | |
11 | kmap_atomic(&page); | |
608f8749 BB |
12 | ]) |
13 | ]) | |
14 | ||
15 | AC_DEFUN([ZFS_AC_KERNEL_KMAP_ATOMIC_ARGS], [ | |
16 | AC_MSG_CHECKING([whether kmap_atomic wants 1 args]) | |
17 | ZFS_LINUX_TEST_RESULT([kmap_atomic], [ | |
17888ae3 | 18 | AC_MSG_RESULT(yes) |
17888ae3 | 19 | ],[ |
066e8252 | 20 | ZFS_LINUX_TEST_ERROR([kmap_atomic()]) |
17888ae3 CC |
21 | ]) |
22 | ]) |