From dafaa63ea083d5c83c7d22aa06bf5620273fdb6d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 23 Apr 2014 08:57:17 +0000 Subject: [PATCH] ib_srpt: RHEL 5.9 build fix git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5457 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index e9b2b4913..0d7226881 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -139,7 +139,8 @@ enum { LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 76)) && \ !(defined(RHEL_MAJOR) && \ (RHEL_MAJOR -0 > 6 || \ - RHEL_MAJOR -0 == 6 && RHEL_MINOR -0 >= 5)) + RHEL_MAJOR -0 == 6 && RHEL_MINOR -0 >= 5 || \ + RHEL_MAJOR -0 == 5 && RHEL_MINOR -0 >= 9)) /* See also patch "IB/core: Add GID change event" (commit 761d90ed4). */ enum { IB_EVENT_GID_CHANGE = 18 }; #endif