PERFORCE change 125053 for review
Roman Divacky
rdivacky at FreeBSD.org
Sat Aug 11 05:40:40 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125053
Change 125053 by rdivacky at 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 *);
More information about the p4-projects
mailing list