diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h | 2 | ||||
-rw-r--r-- | rt/tst-mqueue5.c | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/Makefile | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c | 1 |
7 files changed, 18 insertions, 7 deletions
@@ -1,5 +1,12 @@ 2004-04-18 Ulrich Drepper <drepper@redhat.com> + * sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add + rt-sysdep. + + * rt/tst-mqueue5.c (mqsend): Don't inline. + (mqrecv): Likewise. + * rt/tst-timer4.c: Include <string.h>. 2004-04-17 Jakub Jelinek <jakub@redhat.com> diff --git a/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h index 58087b2..e6c5d84 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h +++ b/nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h @@ -29,7 +29,7 @@ #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) (2147483647) +#define SEM_VALUE_MAX (2147483647) typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h index c774aec..7f3a328 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h +++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h @@ -34,7 +34,7 @@ #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) (2147483647) +#define SEM_VALUE_MAX (2147483647) typedef union diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h index 5069299..bb5eade 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h @@ -29,7 +29,7 @@ #define SEM_FAILED ((sem_t *) 0) /* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) (2147483647)) +#define SEM_VALUE_MAX (2147483647) typedef union diff --git a/rt/tst-mqueue5.c b/rt/tst-mqueue5.c index cdbad28..97571da 100644 --- a/rt/tst-mqueue5.c +++ b/rt/tst-mqueue5.c @@ -58,7 +58,7 @@ rtmin_handler (int sig, siginfo_t *info, void *ctx) } #define mqsend(q) (mqsend) (q, __LINE__) -static inline int +static int (mqsend) (mqd_t q, int line) { char c; @@ -71,7 +71,7 @@ static inline int } #define mqrecv(q) (mqrecv) (q, __LINE__) -static inline int +static int (mqrecv) (mqd_t q, int line) { char c; @@ -472,7 +472,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3, /* Thread opens a new O_RDONLY mqd_t (q4). */ /* Thread calls mq_notify (q4, NULL), which should unregister the above notification. */ - /* Thread calls mq_close (q4). */ + /* Thread calls mq_close (q4). */ (void) pthread_barrier_wait (b3); @@ -501,7 +501,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3, /* Thread opens a new O_WRONLY mqd_t (q5). */ /* Thread calls mq_notify (q5, NULL), which should unregister the above notification. */ - /* Thread calls mq_close (q5). */ + /* Thread calls mq_close (q5). */ (void) pthread_barrier_wait (b3); diff --git a/sysdeps/unix/sysv/linux/powerpc/Makefile b/sysdeps/unix/sysv/linux/powerpc/Makefile index 0263251..671370e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/Makefile +++ b/sysdeps/unix/sysv/linux/powerpc/Makefile @@ -1 +1,4 @@ 64bit-predefine = __powerpc64__ +ifeq ($(subdir),rt) +librt-routines += rt-sysdep +endif diff --git a/sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c new file mode 100644 index 0000000..3ff5595 --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c @@ -0,0 +1 @@ +#include <sysdep.c> |