Whamcloud - gitweb
try different check
authorshadow <shadow>
Thu, 18 Jun 2009 14:26:28 +0000 (14:26 +0000)
committershadow <shadow>
Thu, 18 Jun 2009 14:26:28 +0000 (14:26 +0000)
Branch b_release_1_8_0

lustre/autoconf/lustre-core.m4

index f30ea3a..d1fb515 100644 (file)
@@ -1092,9 +1092,10 @@ AC_DEFUN([LC_CANCEL_DIRTY_PAGE],
 LB_LINUX_TRY_COMPILE([
         #include <linux/mm.h>
         #include <linux/page-flags.h>
+        #include <linux/version.h>
 ],[
         /* 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);