diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-30 18:04:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-30 18:04:01 +0000 |
commit | 567678b68514f1673f5f856ca1f280addf38cb88 (patch) | |
tree | db0cd87c0c8fdd8117e707b0a58bc9005527fec2 /linuxthreads/sysdeps/sparc/sparc64 | |
parent | 5df8349b84a85dee067380ad4a5c3b90148a6504 (diff) | |
download | glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.gz glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.xz glibc-567678b68514f1673f5f856ca1f280addf38cb88.zip |
Update.
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self variable. * sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'linuxthreads/sysdeps/sparc/sparc64')
-rw-r--r-- | linuxthreads/sysdeps/sparc/sparc64/pt-machine.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h index 3087020e1b..291a73291c 100644 --- a/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h +++ b/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h @@ -87,10 +87,12 @@ __compare_and_swap (long int *p, long int oldval, long int newval) } /* Access to data in the thread descriptor is easy. */ -#define THREAD_GETMEM(descr, member) __thread_self->member -#define THREAD_GETMEM_NC(descr, member) __thread_self->member -#define THREAD_SETMEM(descr, member, value) __thread_self->member = (value) -#define THREAD_SETMEM_NC(descr, member, value) __thread_self->member = (value) +#define THREAD_GETMEM(descr, member) (sizeof (descr), THREAD_SELF->member) +#define THREAD_GETMEM_NC(descr, member) (sizeof (descr), THREAD_SELF->member) +#define THREAD_SETMEM(descr, member, value) \ + (sizeof (descr), THREAD_SELF->member = (value)) +#define THREAD_SETMEM_NC(descr, member, value) \ + (sizeof (descr), THREAD_SELF->member = (value)) /* We want the OS to assign stack addresses. */ #define FLOATING_STACKS 1 |