From 102f939286748ee1578c655ce237cfd851f8d8a7 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Mon, 17 Dec 2007 07:36:04 +0000 Subject: [PATCH] Branch b1_4 b=14265 i=deen i=scjody Fix build failes for RHEL3. --- ldiskfs/configure.ac | 2 ++ lnet/klnds/socklnd/socklnd.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ldiskfs/configure.ac b/ldiskfs/configure.ac index 1455213..5c170c1 100644 --- a/ldiskfs/configure.ac +++ b/ldiskfs/configure.ac @@ -49,8 +49,10 @@ AC_MSG_RESULT([$enable_modules]) if test x$enable_modules = xyes ; then LB_PROG_LINUX +if test x$linux25 = xyes ; then LB_LINUX_MODPOST fi +fi LB_CONFIG_HEADERS diff --git a/lnet/klnds/socklnd/socklnd.h b/lnet/klnds/socklnd/socklnd.h index b83426e..b3adc3b 100644 --- a/lnet/klnds/socklnd/socklnd.h +++ b/lnet/klnds/socklnd/socklnd.h @@ -367,6 +367,10 @@ extern ksock_proto_t ksocknal_protocol_v2x; #define KSOCK_PROTO_V1_MINOR LNET_PROTO_TCP_VERSION_MINOR #define KSOCK_PROTO_V1 KSOCK_PROTO_V1_MAJOR +#ifndef CPU_MASK_NONE +#define CPU_MASK_NONE 0UL +#endif + static inline int ksocknal_route_mask(void) { -- 1.8.3.1