From: eeb Date: Thu, 29 Jan 2004 15:13:02 +0000 (+0000) Subject: * Changed qswnal.h to expect more recent QSW headers (it had a X-Git-Tag: 1.0.4~73 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=95542db7f4d84193ce47d52eb8350eb9eadef317;p=fs%2Flustre-release.git * Changed qswnal.h to expect more recent QSW headers (it had a work-around for missing #defines that are now in the QSW release). --- diff --git a/lnet/klnds/qswlnd/qswlnd.h b/lnet/klnds/qswlnd/qswlnd.h index 3e4274b..ff3fdfe 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 3e4274b..ff3fdfe 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