Whamcloud - gitweb
b=19720 use min_t() to force comparison to unsigned
authorBrian J. Murrell <brian@sun.com>
Thu, 14 Jan 2010 21:15:02 +0000 (16:15 -0500)
committerJohann Lombardi <johann@sun.com>
Thu, 14 Jan 2010 21:41:51 +0000 (22:41 +0100)
commitc04c5e188a1e1fce10a75a3803bee53ef52a5f39
tree5d9d4343f40072d29d96332d12bfe6e3641d0b44
parente8fe6f0cfb8c5428c0eabce5ac81295d5ab26b88
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