From f41a76e94c415bce03abe151523a74987293ff17 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Wed, 24 Jun 2009 13:26:02 +0000 Subject: [PATCH] Branch b_release_1_8_1 b=19553 i=johann, shadow Workaround for SLES10 + OFED-1.4.1. --- 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 46c6768..f15857e 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1038,6 +1038,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