From: VMware, Inc <> Date: Thu, 17 Jun 2010 21:33:53 +0000 (-0700) Subject: Use the new bit function names. X-Git-Tag: 2010.06.16-268169~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9710647f83f15ebe323ef1787cdc0eb51fe7cc5;p=thirdparty%2Fopen-vm-tools.git Use the new bit function names. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/modules/linux/vsock/linux/af_vsock.c b/open-vm-tools/modules/linux/vsock/linux/af_vsock.c index 3464f0d10..fd610afcd 100644 --- a/open-vm-tools/modules/linux/vsock/linux/af_vsock.c +++ b/open-vm-tools/modules/linux/vsock/linux/af_vsock.c @@ -1593,7 +1593,7 @@ VSockVmciRecvListen(struct sock *sk, // IN protoInt &= VSockVmciNewProtoSupportedVersions(); /* We choose the highest possible protocol version and use that one. */ - pos = fls(protoInt); + pos = mssb32(protoInt); if (pos) { activeProtoVersion = (1 << (pos - 1)); if (VSockVmciProtoToNotifyStruct(pending, &activeProtoVersion, FALSE)) {