From: shadow Date: Thu, 18 Jun 2009 14:26:28 +0000 (+0000) Subject: try different check X-Git-Tag: v1_8_0_1~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=044d9a21eab3ae99ef690118a4bab8022d519712;p=fs%2Flustre-release.git try different check Branch b_release_1_8_0 --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index f30ea3a..d1fb515 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1092,9 +1092,10 @@ AC_DEFUN([LC_CANCEL_DIRTY_PAGE], LB_LINUX_TRY_COMPILE([ #include #include + #include ],[ /* tmp workaround for broken OFED 1.4.1 at SLES10 */ - #if defined(SUSE_KERNEL) && defined _BACKPORT_LINUX_MM_H_ + #if defined(SLE_VERSION_CODE) && defined(_BACKPORT_LINUX_MM_H_) #error badly implementation of cancel_dirty_pages #endif cancel_dirty_page(NULL, 0);