]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Move pthreadP.h into sysdeps directory
authorFlorian Weimer <fweimer@redhat.com>
Tue, 22 Jun 2021 07:50:27 +0000 (09:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 22 Jun 2021 07:51:10 +0000 (09:51 +0200)
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>
21 files changed:
nptl_db/thread_dbP.h
sysdeps/nptl/aio_misc.h
sysdeps/nptl/dl-tls_init_tp.c
sysdeps/nptl/fork.c
sysdeps/nptl/gai_misc.h
sysdeps/nptl/jmp-unwind.c
sysdeps/nptl/libc-lockP.h
sysdeps/nptl/libc_start_call_main.h
sysdeps/nptl/pthreadP.h [moved from nptl/pthreadP.h with 99% similarity]
sysdeps/nptl/pthread_early_init.h
sysdeps/nptl/setxid.h
sysdeps/posix/spawni.c
sysdeps/unix/sysv/linux/dl-execstack.c
sysdeps/unix/sysv/linux/mq_notify.c
sysdeps/unix/sysv/linux/s390/jmp-unwind.c
sysdeps/unix/sysv/linux/sigprocmask.c
sysdeps/unix/sysv/linux/spawni.c
sysdeps/unix/sysv/linux/timer_create.c
sysdeps/unix/sysv/linux/timer_routines.c
sysdeps/unix/sysv/linux/tls-internal.h
sysdeps/unix/sysv/linux/x86/longjmp.c

index 712fa3aeb6bd67defdcda725e11ce9eb64be34ec..7e7d1d5535f94472620780a2b75a32880fb81a6a 100644 (file)
@@ -27,7 +27,7 @@
 #include <assert.h>
 #include "proc_service.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 <gnu/lib-names.h>
 #include <libc-diag.h>
index 3e9b8929b24ebf7ba07b81ff8c446846d68a7556..a5c439fab5ff2b98c22684ce0d73ea26df2d5246 100644 (file)
@@ -21,7 +21,7 @@
    correct aio_suspend and lio_listio implementations.  */
 
 #include <assert.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <futex-internal.h>
 
 #define DONT_NEED_AIO_MISC_COND        1
index b7b3bb1cdbbaba93855fbcd773d612da9ecf5071..c3349dd14c93e4ad1af25fd26f65d5bb8fbd1985 100644 (file)
@@ -19,7 +19,7 @@
 #include <kernel-features.h>
 #include <ldsodefs.h>
 #include <list.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <tls.h>
 
 #ifndef __ASSUME_SET_ROBUST_LIST
index 062b01265a94fb8ea6edac36e333cdc7c469b2c6..39ab7976129620a472b7feff3c568a9672245652 100644 (file)
@@ -27,7 +27,7 @@
 #include <ldsodefs.h>
 #include <stdio-lock.h>
 #include <atomic.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <register-atfork.h>
 #include <arch-fork.h>
 #include <futex-internal.h>
index 82948fdf96689eda51f8e4f530cc302957707053..36bf27523d9c00717dd0148a582a9da103ed40e1 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <assert.h>
 #include <signal.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <futex-internal.h>
 
 #define DONT_NEED_GAI_MISC_COND        1
index 96c4862c741f5fd31189d89380c3b771f7659c3c..5254c16b818e02529a1e6f5ef9be86fd6511171c 100644 (file)
@@ -19,7 +19,7 @@
 #include <setjmp.h>
 #include <stddef.h>
 #include <libc-lock.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 
 void
 _longjmp_unwind (jmp_buf env, int val)
index ec7b02bbdda15a398ac0f094295fde9dee934bf4..ef88a3e53355251c3dea71a4a118e07c85242502 100644 (file)
@@ -36,7 +36,7 @@
 #if IS_IN (libpthread)
 /* This gets us the declarations of the __pthread_* internal names,
    and hidden_proto for them.  */
-# include <nptl/pthreadP.h>
+# include <pthreadP.h>
 #endif
 
 /* Mutex type.  */
index b56bf34325f27b1e276c5e2bb05432faec0b5731..06d72c1e381b7827ecaeb92af337d9b22c98f9b4 100644 (file)
@@ -17,7 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <atomic.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 
 _Noreturn static void
 __libc_start_call_main (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
similarity index 99%
rename from nptl/pthreadP.h
rename to sysdeps/nptl/pthreadP.h
index 675d1de75315fb42f8144856343ae62b2cd43a29..ca96ff073b959163f4cba17dae03664923f6cc83 100644 (file)
@@ -25,7 +25,7 @@
 #include <setjmp.h>
 #include <stdbool.h>
 #include <sys/syscall.h>
-#include "descr.h"
+#include <nptl/descr.h>
 #include <tls.h>
 #include <lowlevellock.h>
 #include <stackinfo.h>
index 5b49ce39c2cdbc2d81e6522b3d9c65904dbbc7f0..89774c147759ca509c10592b884eca7849535d6d 100644 (file)
@@ -20,7 +20,7 @@
 #define _PTHREAD_EARLY_INIT_H 1
 
 #include <nptl/nptl-stack.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <pthread_mutex_conf.h>
 #include <sys/resource.h>
 
index 8b49d11550b4d34992b13c24a106de1de03b5162..e90367bf022b621637dfaefc670bb38dc01a72c1 100644 (file)
@@ -15,7 +15,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <sys/single_threaded.h>
 #include <sysdep.h>
 
index a6497886688f0491dbbad5e21105129db026cac8..fe3b5bb7f693ba7f2258fb411f95bf75784bdd97 100644 (file)
@@ -28,7 +28,7 @@
 #include <not-cancel.h>
 #include <local-setxid.h>
 #include <shlib-compat.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <dl-sysdep.h>
 #include <libc-pointer-arith.h>
 #include <ldsodefs.h>
index e2449d1890b7ecac0b78b2c60cecae57e13c4da7..6598c9035751bbb6b71119fc29073374134b33ab 100644 (file)
@@ -20,7 +20,7 @@
 #include <ldsodefs.h>
 #include <libintl.h>
 #include <list.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <stackinfo.h>
 #include <stdbool.h>
 #include <sys/mman.h>
index 6f46d29d1dcb6acc4ed8f7a9735e4a4ff20ab662..e22850a910c5867e1cf8306510a53e8cbf83afd4 100644 (file)
@@ -28,7 +28,7 @@
 #include <unistd.h>
 #include <sys/socket.h>
 #include <not-cancel.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 
 
 /* Defined in the kernel headers: */
index 8e0399a3e994000321628da6f36da2a524f85267..5fbca71f5b78e74813f59359f6de2ad4c2a22b41 100644 (file)
@@ -19,7 +19,7 @@
 #include <setjmp.h>
 #include <stddef.h>
 #include <libc-lock.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 
 void
 _longjmp_unwind (jmp_buf env, int val)
index 9dfd8076d12aff9014fa40f7e93111760a1a8bad..eeec05d03759cda353d56243e03838a93a5f3610 100644 (file)
@@ -16,7 +16,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <signal.h>
-#include <nptl/pthreadP.h>              /* SIGCANCEL, SIGSETXID */
+#include <pthreadP.h>              /* SIGCANCEL, SIGSETXID */
 
 /* Get and/or change the set of blocked signals.  */
 int
index 501f8fbccd5c1efe6593483437d5601a7866e7b5..3b435e6c8691ad8ef737deab584edc945f2bdd32 100644 (file)
@@ -27,7 +27,7 @@
 #include <not-cancel.h>
 #include <local-setxid.h>
 #include <shlib-compat.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <dl-sysdep.h>
 #include <libc-pointer-arith.h>
 #include <ldsodefs.h>
index 37de98fde4f71e4f9a8a4503562d1a307f8c9756..1ea00864873799116526797ada534e74ddb61bc3 100644 (file)
@@ -24,7 +24,7 @@
 #include <time.h>
 #include <sysdep.h>
 #include <internaltypes.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include "kernel-posix-timers.h"
 #include "kernel-posix-cpu-timers.h"
 
index 60e60e009849ce0baa5e97fcc8ed4efe5bbf7296..4098da8a5ff61b34ad62cbccc39e1d19181f39cd 100644 (file)
@@ -21,7 +21,7 @@
 #include <signal.h>
 #include <stdbool.h>
 #include <sysdep-cancel.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include "kernel-posix-timers.h"
 
 
index 40798a5dcc251ef7f0430b9af4bcbddd9751e5c0..17128136ddd7a7249f70081f41f32260551f0fb5 100644 (file)
@@ -20,7 +20,7 @@
 #define _TLS_INTERNAL_H 1
 
 #include <stdlib.h>
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 
 static inline struct tls_internal_t *
 __glibc_tls_internal (void)
index 1cc8b8dfad001fa71db4405ee2073fcb358f194e..25e2af768574253d65dfa892994bf38cfc311b33 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <sysdeps/x86/longjmp.c>
 
-#include <nptl/pthreadP.h>
+#include <pthreadP.h>
 #include <jmp_buf-ssp.h>
 
 #ifdef __x86_64__