]>
Commit | Line | Data |
---|---|---|
e897a23e BB |
1 | dnl # |
2 | dnl # 4.5 API change | |
3 | dnl # Added in_compat_syscall() which can be overridden on a per- | |
4 | dnl # architecture basis. Prior to this is_compat_task() was the | |
5 | dnl # provided interface. | |
6 | dnl # | |
7 | AC_DEFUN([ZFS_AC_KERNEL_IN_COMPAT_SYSCALL], [ | |
8 | AC_MSG_CHECKING([whether in_compat_syscall() is available]) | |
9 | ZFS_LINUX_TRY_COMPILE([ | |
10 | #include <linux/compat.h> | |
11 | ],[ | |
12 | in_compat_syscall(); | |
13 | ],[ | |
14 | AC_MSG_RESULT(yes) | |
15 | AC_DEFINE(HAVE_IN_COMPAT_SYSCALL, 1, | |
16 | [in_compat_syscall() is available]) | |
17 | ],[ | |
18 | AC_MSG_RESULT(no) | |
19 | ]) | |
20 | ]) |