nptl: Move pthreadP.h into sysdeps directory

This mirrors the situation on Hurd.  These directories are on
the include search part, so #include <pthreadP.h> works after this
change on both Hurd and nptl.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer 2021-06-22 09:50:27 +02:00
parent daa3fc9bff
commit 3c79234c7a
21 changed files with 21 additions and 21 deletions

View File

@ -27,7 +27,7 @@
#include <assert.h> #include <assert.h>
#include "proc_service.h" #include "proc_service.h"
#include "thread_db.h" #include "thread_db.h"
#include "../nptl/pthreadP.h" /* This is for *_BITMASK only. */ #include <pthreadP.h> /* This is for *_BITMASK only. */
#include <list.h> #include <list.h>
#include <gnu/lib-names.h> #include <gnu/lib-names.h>
#include <libc-diag.h> #include <libc-diag.h>

View File

@ -21,7 +21,7 @@
correct aio_suspend and lio_listio implementations. */ correct aio_suspend and lio_listio implementations. */
#include <assert.h> #include <assert.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <futex-internal.h> #include <futex-internal.h>
#define DONT_NEED_AIO_MISC_COND 1 #define DONT_NEED_AIO_MISC_COND 1

View File

@ -19,7 +19,7 @@
#include <kernel-features.h> #include <kernel-features.h>
#include <ldsodefs.h> #include <ldsodefs.h>
#include <list.h> #include <list.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <tls.h> #include <tls.h>
#ifndef __ASSUME_SET_ROBUST_LIST #ifndef __ASSUME_SET_ROBUST_LIST

View File

@ -27,7 +27,7 @@
#include <ldsodefs.h> #include <ldsodefs.h>
#include <stdio-lock.h> #include <stdio-lock.h>
#include <atomic.h> #include <atomic.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <register-atfork.h> #include <register-atfork.h>
#include <arch-fork.h> #include <arch-fork.h>
#include <futex-internal.h> #include <futex-internal.h>

View File

@ -22,7 +22,7 @@
#include <assert.h> #include <assert.h>
#include <signal.h> #include <signal.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <futex-internal.h> #include <futex-internal.h>
#define DONT_NEED_GAI_MISC_COND 1 #define DONT_NEED_GAI_MISC_COND 1

View File

@ -19,7 +19,7 @@
#include <setjmp.h> #include <setjmp.h>
#include <stddef.h> #include <stddef.h>
#include <libc-lock.h> #include <libc-lock.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
void void
_longjmp_unwind (jmp_buf env, int val) _longjmp_unwind (jmp_buf env, int val)

View File

@ -36,7 +36,7 @@
#if IS_IN (libpthread) #if IS_IN (libpthread)
/* This gets us the declarations of the __pthread_* internal names, /* This gets us the declarations of the __pthread_* internal names,
and hidden_proto for them. */ and hidden_proto for them. */
# include <nptl/pthreadP.h> # include <pthreadP.h>
#endif #endif
/* Mutex type. */ /* Mutex type. */

View File

@ -17,7 +17,7 @@
<https://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <atomic.h> #include <atomic.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
_Noreturn static void _Noreturn static void
__libc_start_call_main (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL), __libc_start_call_main (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),

View File

@ -25,7 +25,7 @@
#include <setjmp.h> #include <setjmp.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/syscall.h> #include <sys/syscall.h>
#include "descr.h" #include <nptl/descr.h>
#include <tls.h> #include <tls.h>
#include <lowlevellock.h> #include <lowlevellock.h>
#include <stackinfo.h> #include <stackinfo.h>

View File

@ -20,7 +20,7 @@
#define _PTHREAD_EARLY_INIT_H 1 #define _PTHREAD_EARLY_INIT_H 1
#include <nptl/nptl-stack.h> #include <nptl/nptl-stack.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <pthread_mutex_conf.h> #include <pthread_mutex_conf.h>
#include <sys/resource.h> #include <sys/resource.h>

View File

@ -15,7 +15,7 @@
License along with the GNU C Library; if not, see License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <sys/single_threaded.h> #include <sys/single_threaded.h>
#include <sysdep.h> #include <sysdep.h>

View File

@ -28,7 +28,7 @@
#include <not-cancel.h> #include <not-cancel.h>
#include <local-setxid.h> #include <local-setxid.h>
#include <shlib-compat.h> #include <shlib-compat.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <dl-sysdep.h> #include <dl-sysdep.h>
#include <libc-pointer-arith.h> #include <libc-pointer-arith.h>
#include <ldsodefs.h> #include <ldsodefs.h>

View File

@ -20,7 +20,7 @@
#include <ldsodefs.h> #include <ldsodefs.h>
#include <libintl.h> #include <libintl.h>
#include <list.h> #include <list.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <stackinfo.h> #include <stackinfo.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/mman.h> #include <sys/mman.h>

View File

@ -28,7 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <not-cancel.h> #include <not-cancel.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
/* Defined in the kernel headers: */ /* Defined in the kernel headers: */

View File

@ -19,7 +19,7 @@
#include <setjmp.h> #include <setjmp.h>
#include <stddef.h> #include <stddef.h>
#include <libc-lock.h> #include <libc-lock.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
void void
_longjmp_unwind (jmp_buf env, int val) _longjmp_unwind (jmp_buf env, int val)

View File

@ -16,7 +16,7 @@
<https://www.gnu.org/licenses/>. */ <https://www.gnu.org/licenses/>. */
#include <signal.h> #include <signal.h>
#include <nptl/pthreadP.h> /* SIGCANCEL, SIGSETXID */ #include <pthreadP.h> /* SIGCANCEL, SIGSETXID */
/* Get and/or change the set of blocked signals. */ /* Get and/or change the set of blocked signals. */
int int

View File

@ -27,7 +27,7 @@
#include <not-cancel.h> #include <not-cancel.h>
#include <local-setxid.h> #include <local-setxid.h>
#include <shlib-compat.h> #include <shlib-compat.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <dl-sysdep.h> #include <dl-sysdep.h>
#include <libc-pointer-arith.h> #include <libc-pointer-arith.h>
#include <ldsodefs.h> #include <ldsodefs.h>

View File

@ -24,7 +24,7 @@
#include <time.h> #include <time.h>
#include <sysdep.h> #include <sysdep.h>
#include <internaltypes.h> #include <internaltypes.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include "kernel-posix-timers.h" #include "kernel-posix-timers.h"
#include "kernel-posix-cpu-timers.h" #include "kernel-posix-cpu-timers.h"

View File

@ -21,7 +21,7 @@
#include <signal.h> #include <signal.h>
#include <stdbool.h> #include <stdbool.h>
#include <sysdep-cancel.h> #include <sysdep-cancel.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include "kernel-posix-timers.h" #include "kernel-posix-timers.h"

View File

@ -20,7 +20,7 @@
#define _TLS_INTERNAL_H 1 #define _TLS_INTERNAL_H 1
#include <stdlib.h> #include <stdlib.h>
#include <nptl/pthreadP.h> #include <pthreadP.h>
static inline struct tls_internal_t * static inline struct tls_internal_t *
__glibc_tls_internal (void) __glibc_tls_internal (void)

View File

@ -18,7 +18,7 @@
#include <sysdeps/x86/longjmp.c> #include <sysdeps/x86/longjmp.c>
#include <nptl/pthreadP.h> #include <pthreadP.h>
#include <jmp_buf-ssp.h> #include <jmp_buf-ssp.h>
#ifdef __x86_64__ #ifdef __x86_64__