From 289b559ef2dbeb3c8d6c501ec852903e5472cbe8 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Mon, 21 Jul 2014 13:36:57 +0400 Subject: [PATCH] LU-5334 lnet: fix build with OFED-3.5-2-MIC-beta1 The stuff for RHEL6.4 should be guarded by CONFIG_COMPAT_RHEL_6_4 also in RHEL6.5. So, we need both _COMPAT_ defines in RHEL6.5. Lustre-Review: http://review.whamcloud.com/11104 Lustre-Commit: fa4a67d5b4871e20acd07076e7fa15613695cae5 Signed-off-by: Dmitry Eremin Change-Id: I322dd2ef167c7b3c272b766ee2cd3f0d464e0a13 Reviewed-on: http://review.whamcloud.com/11153 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lnet/autoconf/lustre-lnet.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index 32a2e70..2012f8e 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -426,7 +426,7 @@ else 2.6.32-358*) EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4";; 2.6.32-431*) - EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_5";; + EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5";; esac elif test x$SUSE_KERNEL = xyes; then SP=$(grep PATCHLEVEL /etc/SuSE-release | sed -e 's/.*= *//') -- 1.8.3.1