Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e41034
)
b=14091
author
walter
<walter>
Wed, 7 May 2008 21:23:49 +0000
(21:23 +0000)
committer
walter
<walter>
Wed, 7 May 2008 21:23:49 +0000
(21:23 +0000)
i=he.huang
i=adilger
fix for build errors on Cray catamount builds
lnet/lnet/api-ni.c
patch
|
blob
|
history
diff --git
a/lnet/lnet/api-ni.c
b/lnet/lnet/api-ni.c
index
4fd9adb
..
8a86dcc
100644
(file)
--- a/
lnet/lnet/api-ni.c
+++ b/
lnet/lnet/api-ni.c
@@
-858,6
+858,7
@@
lnet_count_acceptor_nis (lnet_ni_t **first_ni)
* *first_ni so the acceptor can pass it connections "blind" to retain
* binary compatibility. */
int count = 0;
+#if defined(__KERNEL__) || defined(HAVE_LIBPTHREAD)
struct list_head *tmp;
lnet_ni_t *ni;
@@
-876,6
+877,8
@@
lnet_count_acceptor_nis (lnet_ni_t **first_ni)
}
LNET_UNLOCK();
+
+#endif /* defined(__KERNEL__) || defined(HAVE_LIBPTHREAD) */
return count;
}