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.
This commit is contained in:
David S. Miller 2014-06-24 13:31:04 -07:00
parent d69b7f5ac0
commit 7000d82e01
13 changed files with 26 additions and 8 deletions

View File

@ -7,6 +7,20 @@
* sysdeps/sparc/fpu/libm-test-ulps: Update.
* 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.
2014-07-09 Andreas Schwab <schwab@suse.de>
* sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to

View File

@ -19,6 +19,7 @@
#include <errno.h>
#include "pthreadP.h"
#include <lowlevellock.h>
#include <sparc-nptl.h>
int
pthread_barrier_destroy (barrier)

View File

@ -19,6 +19,7 @@
#include <errno.h>
#include "pthreadP.h"
#include <lowlevellock.h>
#include <sparc-nptl.h>
int
pthread_barrier_init (barrier, attr, count)

View File

@ -20,6 +20,7 @@
#include <sysdep.h>
#include <lowlevellock.h>
#include <pthreadP.h>
#include <sparc-nptl.h>
/* Wait on barrier. */
int

View File

@ -23,7 +23,7 @@
#include <shlib-compat.h>
#include "semaphoreP.h"
#include <kernel-features.h>
#include <sparc-nptl.h>
int
__new_sem_init (sem, pshared, value)

View File

@ -24,6 +24,7 @@
#include <semaphore.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
int
__new_sem_post (sem_t *sem)

View File

@ -25,7 +25,7 @@
#include <pthreadP.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
extern void __sem_wait_cleanup (void *arg) attribute_hidden;

View File

@ -25,7 +25,7 @@
#include <pthreadP.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
void
attribute_hidden

View File

@ -1,6 +1,4 @@
#ifndef _INTERNALTYPES_H
#include_next <internaltypes.h>
#ifndef _SPARC_NPTL_H
union sparc_pthread_barrier
{

View File

@ -20,6 +20,7 @@
#include <sysdep.h>
#include <lowlevellock.h>
#include <pthreadP.h>
#include <sparc-nptl.h>
/* Wait on barrier. */
int

View File

@ -24,6 +24,7 @@
#include <semaphore.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
int
__new_sem_post (sem_t *sem)

View File

@ -25,7 +25,7 @@
#include <pthreadP.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
extern void __sem_wait_cleanup (void *arg) attribute_hidden;

View File

@ -25,7 +25,7 @@
#include <pthreadP.h>
#include <shlib-compat.h>
#include <sparc-nptl.h>
void
attribute_hidden