diff options
author | David S. Miller <davem@davemloft.net> | 2014-06-24 13:31:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-09 22:19:09 -0700 |
commit | 7000d82e01dc04344eaa1772698c9b0c304a892f (patch) | |
tree | b13bdcc10b4aaef22ab0e0e652ee1628d27103b4 /sysdeps/sparc/nptl/sparc-nptl.h | |
parent | d69b7f5ac02989ce3d8577eed86da3e0c8af6c1c (diff) | |
download | glibc-7000d82e01dc04344eaa1772698c9b0c304a892f.tar.gz glibc-7000d82e01dc04344eaa1772698c9b0c304a892f.tar.xz glibc-7000d82e01dc04344eaa1772698c9b0c304a892f.zip |
Get rid of sparc specific NPTL internaltypes.h header.
* sysdeps/sparc/nptl/internaltypes.h: Delete. * sysdeps/sparc/nptl/sparc-nptl.h: New file. * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it. * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise. * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise. * sysdeps/sparc/nptl/sem_init.c: Likewise. * sysdeps/sparc/nptl/sem_post.c: Likewise. * sysdeps/sparc/nptl/sem_timedwait.c: Likewise. * sysdeps/sparc/nptl/sem_wait.c: Likewise. * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
Diffstat (limited to 'sysdeps/sparc/nptl/sparc-nptl.h')
-rw-r--r-- | sysdeps/sparc/nptl/sparc-nptl.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysdeps/sparc/nptl/sparc-nptl.h b/sysdeps/sparc/nptl/sparc-nptl.h new file mode 100644 index 0000000000..baff918288 --- /dev/null +++ b/sysdeps/sparc/nptl/sparc-nptl.h @@ -0,0 +1,33 @@ +#ifndef _SPARC_NPTL_H + +union sparc_pthread_barrier +{ + struct pthread_barrier b; + struct sparc_pthread_barrier_s + { + unsigned int curr_event; + int lock; + unsigned int left; + unsigned int init_count; + unsigned char left_lock; + unsigned char pshared; + } s; +}; + +struct sparc_new_sem +{ + unsigned int value; + unsigned char lock; + unsigned char private; + unsigned char pad[2]; + unsigned long int nwaiters; +}; + +struct sparc_old_sem +{ + unsigned int value; + unsigned char lock; + unsigned char private; +}; + +#endif |