From 95542db7f4d84193ce47d52eb8350eb9eadef317 Mon Sep 17 00:00:00 2001
From: eeb <eeb>
Date: Thu, 29 Jan 2004 15:13:02 +0000
Subject: [PATCH] *   Changed qswnal.h to expect more recent QSW headers (it
 had a     work-around for missing #defines that are now in the QSW release).

---
 lnet/klnds/qswlnd/qswlnd.h           | 9 ++-------
 lustre/portals/knals/qswnal/qswnal.h | 9 ++-------
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/lnet/klnds/qswlnd/qswlnd.h b/lnet/klnds/qswlnd/qswlnd.h
index 3e4274b468..ff3fdfedb2 100644
--- a/lnet/klnds/qswlnd/qswlnd.h
+++ b/lnet/klnds/qswlnd/qswlnd.h
@@ -317,13 +317,8 @@ static inline void kqswnal_rx_done (kqswnal_rx_t *krx)
 
 #if MULTIRAIL_EKC
 
-#if (!defined(EP_RAILMASK_ALL) && !defined(EP_SHUTDOWN))
-/* These are making their way into the EKC subsystem.... */
-# define EP_RAILMASK_ALL    0xFFFF
-# define EP_SHUTDOWN        EP_ABORT
-#else
-/* ...Oh! they've got there already! */
-# error "qswnal.h older than EKC headers"
+#ifndef EP_RAILMASK_ALL
+# error "old (unsupported) version of EKC headers"
 #endif
 
 static inline int
diff --git a/lustre/portals/knals/qswnal/qswnal.h b/lustre/portals/knals/qswnal/qswnal.h
index 3e4274b468..ff3fdfedb2 100644
--- a/lustre/portals/knals/qswnal/qswnal.h
+++ b/lustre/portals/knals/qswnal/qswnal.h
@@ -317,13 +317,8 @@ static inline void kqswnal_rx_done (kqswnal_rx_t *krx)
 
 #if MULTIRAIL_EKC
 
-#if (!defined(EP_RAILMASK_ALL) && !defined(EP_SHUTDOWN))
-/* These are making their way into the EKC subsystem.... */
-# define EP_RAILMASK_ALL    0xFFFF
-# define EP_SHUTDOWN        EP_ABORT
-#else
-/* ...Oh! they've got there already! */
-# error "qswnal.h older than EKC headers"
+#ifndef EP_RAILMASK_ALL
+# error "old (unsupported) version of EKC headers"
 #endif
 
 static inline int
-- 
GitLab