From 1b6cfbd7a2ae71de7b1a006e5aae5a0c98fa3b5f Mon Sep 17 00:00:00 2001 From: yangsheng Date: Wed, 1 Jul 2009 04:37:35 +0000 Subject: [PATCH] Branch HEAD b=19553 i=johann, shadow Workaround for OFED-1.4.1 on SLES10. --- lustre/autoconf/lustre-core.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 77ac191..7f634ec 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1096,6 +1096,10 @@ LB_LINUX_TRY_COMPILE([ #include #include ],[ + /* 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) -- 1.8.3.1