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.
7 AC_DEFUN([ZFS_AC_KERNEL_SRC_IN_COMPAT_SYSCALL], [
8 ZFS_LINUX_TEST_SRC([in_compat_syscall], [
9 #include <linux/compat.h>
15 AC_DEFUN([ZFS_AC_KERNEL_IN_COMPAT_SYSCALL], [
16 AC_MSG_CHECKING([whether in_compat_syscall() is available])
17 ZFS_LINUX_TEST_RESULT([in_compat_syscall], [
19 AC_DEFINE(HAVE_IN_COMPAT_SYSCALL, 1,
20 [in_compat_syscall() is available])