Whamcloud - gitweb
Branch HEAD
authoryangsheng <yangsheng>
Wed, 1 Jul 2009 04:37:35 +0000 (04:37 +0000)
committeryangsheng <yangsheng>
Wed, 1 Jul 2009 04:37:35 +0000 (04:37 +0000)
b=19553

i=johann, shadow

Workaround for OFED-1.4.1 on SLES10.

lustre/autoconf/lustre-core.m4

index 77ac191..7f634ec 100644 (file)
@@ -1096,6 +1096,10 @@ LB_LINUX_TRY_COMPILE([
         #include <linux/mm.h>
         #include <linux/page-flags.h>
 ],[
+        /* tmp workaround for broken OFED 1.4.1 at SLES10 */
+        #if defined(CONFIG_SLE_VERSION) && CONFIG_SLE_VERSION == 10 && defined(_BACKPORT_LINUX_MM_H_)
+        #error badly implementation of cancel_dirty_pages
+        #endif
         cancel_dirty_page(NULL, 0);
 ],[
         AC_MSG_RESULT(yes)