Linux 4.5: no highmem in symlink ops
[openafs.git] / acinclude.m4
index 745f38e..f215319 100644 (file)
@@ -1091,6 +1091,9 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                                     [#include <linux/kernel.h>
                                      #include <linux/kthread.h>],
                                     [kthread_run(NULL, NULL, "test");])
+                AC_CHECK_LINUX_FUNC([inode_nohighmem],
+                                    [#include <linux/fs.h>],
+                                    [inode_nohighmem(NULL);])
 
                 dnl Consequences - things which get set as a result of the
                 dnl                above tests