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

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

Change 125047 by rdivacky@rdivacky_witten on 2007/08/11 11:16:27

	Disable futex_lock.

Affected files ...

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

Differences ...

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

@@ -83,8 +83,13 @@
 #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?200708111117.l7BBHHix006857>