This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
lowlevellock.h updates for ARM and MIPS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Mon, 12 Jan 2009 16:40:55 +0000 (UTC)
- Subject: lowlevellock.h updates for ARM and MIPS
I've applied this patch to update the ARM and MIPS lowlevellock.h files
for recent libc changes.
Index: ChangeLog.arm
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.arm,v
retrieving revision 1.83
diff -u -r1.83 ChangeLog.arm
--- ChangeLog.arm 3 Dec 2008 23:36:56 -0000 1.83
+++ ChangeLog.arm 12 Jan 2009 16:36:58 -0000
@@ -1,3 +1,8 @@
+2009-01-12 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
+ FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
+
2008-12-03 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
Index: ChangeLog.mips
===================================================================
RCS file: /cvs/glibc/ports/ChangeLog.mips,v
retrieving revision 1.67
diff -u -r1.67 ChangeLog.mips
--- ChangeLog.mips 19 Dec 2008 21:35:57 -0000 1.67
+++ ChangeLog.mips 12 Jan 2009 16:36:58 -0000
@@ -1,3 +1,8 @@
+2009-01-12 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
+ FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
+
2008-12-19 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
Index: sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h,v
retrieving revision 1.8
diff -u -r1.8 lowlevellock.h
--- sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 3 Dec 2008 23:36:56 -0000 1.8
+++ sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h 12 Jan 2009 16:36:58 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -38,6 +38,9 @@
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
#define FUTEX_PRIVATE_FLAG 128
+#define FUTEX_CLOCK_REALTIME 256
+
+#define FUTEX_BITSET_MATCH_ANY 0xffffffff
/* Values for 'private' parameter of locking macros. Yes, the
definition seems to be backwards. But it is not. The bit will be
Index: sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h,v
retrieving revision 1.7
diff -u -r1.7 lowlevellock.h
--- sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h 3 Dec 2008 23:37:48 -0000 1.7
+++ sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h 12 Jan 2009 16:36:58 -0000
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008,
+ 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -38,6 +39,9 @@
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
#define FUTEX_PRIVATE_FLAG 128
+#define FUTEX_CLOCK_REALTIME 256
+
+#define FUTEX_BITSET_MATCH_ANY 0xffffffff
/* Values for 'private' parameter of locking macros. Yes, the
definition seems to be backwards. But it is not. The bit will be
--
Joseph S. Myers
joseph@codesourcery.com