Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 14:34:58 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 104033 for review
Message-ID:  <200608151434.k7FEYwHH097266@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104033

Change 104033 by rdivacky@rdivacky_witten on 2006/08/15 14:34:02

	Be more sane and dont UNLOCK;LOCK; just remove both.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_futex.c#26 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_futex.c#26 (text+ko) ====

@@ -339,11 +339,7 @@
 			return f;
 		}
 	}
-	if (locked == FUTEX_UNLOCKED)
-   	   	FUTEX_UNLOCK;
 
-	if (locked == FUTEX_UNLOCKED)
-   	   	FUTEX_LOCK;
 	/* Not found, create it */
 	f = malloc(sizeof(*f), M_LINUX, M_WAITOK);
 	f->f_uaddr = uaddr;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608151434.k7FEYwHH097266>