Whamcloud - gitweb
b=19720 use min_t() to force comparison to unsigned
authorBrian J. Murrell <brian@sun.com>
Tue, 19 Jan 2010 19:14:49 +0000 (14:14 -0500)
committerRobert Read <rread@sun.com>
Tue, 19 Jan 2010 19:37:34 +0000 (11:37 -0800)
commit8999975caf5d8ad7c9291b9883e514458ba755f5
treedbd574b1e4ff01a53db7044d1b86a1085f2e287a
parent53da823bac7d37e523d0d917227a11f85fec6eff
b=19720 use min_t() to force comparison to unsigned

In older kernels num_online_cpus() is an int, and in newer
kernels it is an unsigned so force the comparison to unsigned
so that it's portable to both new and old kernels.

i=panda
i=whitebear
lustre/include/lustre_net.h