PERFORCE change 125047 for review

Roman Divacky rdivacky at FreeBSD.org
Sat Aug 11 04:17:18 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=125047

Change 125047 by rdivacky at 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 *);


More information about the p4-projects mailing list