aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2007-05-18 02:02:51 +0000
committerCarlos O'Donell <carlos@systemhalted.org>2007-05-18 02:02:51 +0000
commit90e01f41f991eb5ed709cae04362ab57ed66dfc4 (patch)
tree88420316a215d34dffc709933efbf400ab5216b7
parentd164f33b2ad9a24f5119061514633f93f51b8681 (diff)
downloadglibc-90e01f41f991eb5ed709cae04362ab57ed66dfc4.tar.xz
glibc-90e01f41f991eb5ed709cae04362ab57ed66dfc4.zip
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h (SEM_VALUE_MAX): Remove.
-rw-r--r--ChangeLog.hppa5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h6
2 files changed, 5 insertions, 6 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index e35eb1b561..3ee76d9def 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,5 +1,10 @@
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
+ * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
+ (SEM_VALUE_MAX): Remove.
+
+2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
+
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
(PIC_REG_USE): Define.
(INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
diff --git a/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h b/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
index 3d274eea20..270f3332c0 100644
--- a/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
+++ b/sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
@@ -20,17 +20,11 @@
# error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead."
#endif
-
#define __SIZEOF_SEM_T 16
-
/* Value returned if `sem_open' failed. */
#define SEM_FAILED ((sem_t *) 0)
-/* Maximum value the semaphore can have. */
-#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
-
-
typedef union
{
char __size[__SIZEOF_SEM_T];