4 dnl # NULL inode_operations.readlink implies generic_readlink(), which
5 dnl # has been made static.
7 AC_DEFUN([ZFS_AC_KERNEL_SRC_GENERIC_READLINK_GLOBAL], [
8 ZFS_LINUX_TEST_SRC([generic_readlink_global], [
11 int i __attribute__ ((unused));
12 i = generic_readlink(NULL, NULL, 0);
16 AC_DEFUN([ZFS_AC_KERNEL_GENERIC_READLINK_GLOBAL], [
17 AC_MSG_CHECKING([whether generic_readlink is global])
18 ZFS_LINUX_TEST_RESULT([generic_readlink_global], [
20 AC_DEFINE(HAVE_GENERIC_READLINK, 1,
21 [generic_readlink is global])