--- acinclude.m4.orig	Thu May 22 18:25:16 2008
+++ acinclude.m4	Thu May 22 18:26:40 2008
@@ -841,7 +841,7 @@
 		 if test "x$ac_cv_linux_kernel_page_follow_link" = "xyes" ; then
 		  AC_DEFINE(HAVE_KERNEL_PAGE_FOLLOW_LINK, 1, [define if your linux kernel provides page_follow_link])
 		 fi
-		 if test "x$ac_cv_linux_kernel_page_follow_link" = "xyes" ; then
+		 if test "x$ac_cv_linux_kernel_hlist_unhashed" = "xyes" ; then
 		  AC_DEFINE(HAVE_KERNEL_HLIST_UNHASHED, 1, [define if your linux kernel provides hlist_unhashed])
 		 fi
 		 if test "x$ac_linux_syscall" = "xyes" ; then
--- configure.orig	Thu May 22 18:41:16 2008
+++ configure	Thu May 22 19:00:57 2008
@@ -17475,7 +17475,7 @@
 _ACEOF
 
 		 fi
-		 if test "x$ac_cv_linux_kernel_page_follow_link" = "xyes" ; then
+		 if test "x$ac_cv_linux_kernel_hlist_unhashed" = "xyes" ; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_KERNEL_HLIST_UNHASHED 1
