Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 12:40:39 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125053 for review
Message-ID:  <200708111240.l7BCedKk027596@repoman.freebsd.org>

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

Change 125053 by rdivacky@rdivacky_witten on 2007/08/11 12:40:25

	Revert previous commit. The lock is needed.

Affected files ...

.. //depot/projects/soc2007/rdivacky/linux_futex/sys/compat/linux/linux_futex.c#9 edit

Differences ...

==== //depot/projects/soc2007/rdivacky/linux_futex/sys/compat/linux/linux_futex.c#9 (text+ko) ====

@@ -83,13 +83,8 @@
 #define FUTEX_LOCKED	1
 #define FUTEX_UNLOCKED	0
 
-#if 0
 #define FUTEX_SYSTEM_LOCK sx_xlock(&futex_lock)
 #define FUTEX_SYSTEM_UNLOCK sx_xunlock(&futex_lock)
-#else
-#define FUTEX_SYSTEM_LOCK
-#define FUTEX_SYSTEM_UNLOCK
-#endif
 
 static struct futex	*futex_get(void *, int);
 static void futex_put(struct futex *);



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