Whamcloud - gitweb
Branch HEAD
authorjohann <johann>
Mon, 8 Sep 2008 22:01:56 +0000 (22:01 +0000)
committerjohann <johann>
Mon, 8 Sep 2008 22:01:56 +0000 (22:01 +0000)
b=16813
i=johann

Workaround build issue on craynv (its asm/pgtable.h includes mm.h causing
configure checks to fail)

lustre/ChangeLog
lustre/autoconf/lustre-core.m4

index f82850f..f23e01d 100644 (file)
@@ -1383,6 +1383,12 @@ Details    : It is be possible to send the lock handle along with each read
             itself so there isn't any reason the OST should have to re-do that
             search.
 
+Severity   : normal
+Frequency  : only X2
+Bugzilla   : 16813
+Description: X2 build failures
+Details    : fix build failures on Cray X2.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index d4360da..512cd40 100644 (file)
@@ -1125,6 +1125,7 @@ LB_LINUX_TRY_COMPILE([
 AC_DEFUN([LC_CANCEL_DIRTY_PAGE],
 [AC_MSG_CHECKING([kernel has cancel_dirty_page])
 LB_LINUX_TRY_COMPILE([
+        #include <linux/mm.h>
         #include <linux/page-flags.h>
 ],[
         cancel_dirty_page(NULL, 0);
@@ -1147,6 +1148,7 @@ LB_LINUX_TRY_COMPILE([
 AC_DEFUN([LC_PAGE_CONSTANT],
 [AC_MSG_CHECKING([if kernel have PageConstant defined])
 LB_LINUX_TRY_COMPILE([
+        #include <linux/mm.h>
         #include <linux/page-flags.h>
 ],[
         #ifndef PG_constant
@@ -1165,6 +1167,7 @@ LB_LINUX_TRY_COMPILE([
 AC_DEFUN([LC_PG_FS_MISC],
 [AC_MSG_CHECKING([kernel has PG_fs_misc])
 LB_LINUX_TRY_COMPILE([
+        #include <linux/mm.h>
         #include <linux/page-flags.h>
 ],[
         #ifndef PG_fs_misc
@@ -1183,6 +1186,7 @@ LB_LINUX_TRY_COMPILE([
 AC_DEFUN([LC_PAGE_CHECKED],
 [AC_MSG_CHECKING([kernel has PageChecked and SetPageChecked])
 LB_LINUX_TRY_COMPILE([
+        #include <linux/mm.h>
         #include <linux/page-flags.h>
 ],[
         #ifndef PageChecked