Whamcloud - gitweb
Branch b1_4
authoryangsheng <yangsheng>
Mon, 17 Dec 2007 07:36:04 +0000 (07:36 +0000)
committeryangsheng <yangsheng>
Mon, 17 Dec 2007 07:36:04 +0000 (07:36 +0000)
b=14265
i=deen
i=scjody

Fix build failes for RHEL3.

ldiskfs/configure.ac
lnet/klnds/socklnd/socklnd.h

index 1455213..5c170c1 100644 (file)
@@ -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
 
index b83426e..b3adc3b 100644 (file)
@@ -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) 
 {