From: Roland McGrath Date: Fri, 16 May 2014 18:17:41 +0000 (-0700) Subject: Split arch-fork.h from fork.h X-Git-Tag: upstream/2.30~7485 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=def4bcb29ddc15d9c446264f867c72e293f0efcd;p=external%2Fglibc.git Split arch-fork.h from fork.h --- diff --git a/ChangeLog b/ChangeLog index 4d286eb..0fd2758 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2014-05-16 Roland McGrath + + * sysdeps/unix/sysv/linux/i386/fork.h: Moved ... + * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here. + Don't do #include_next. + * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ... + * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here. + Don't do #include_next. + * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/mips/fork.h: File removed. + * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file. + * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed. + 2014-05-16 Allan McRae * po/sv.po: Update Swedish translation from translation project. diff --git a/nptl/sysdeps/unix/sysv/linux/fork.c b/nptl/sysdeps/unix/sysv/linux/fork.c index 722ffce..70201a2 100644 --- a/nptl/sysdeps/unix/sysv/linux/fork.c +++ b/nptl/sysdeps/unix/sysv/linux/fork.c @@ -29,6 +29,7 @@ #include #include #include +#include unsigned long int *__fork_generation_pointer; diff --git a/sysdeps/unix/sysv/linux/i386/fork.h b/sysdeps/unix/sysv/linux/i386/arch-fork.h similarity index 96% rename from sysdeps/unix/sysv/linux/i386/fork.h rename to sysdeps/unix/sysv/linux/i386/arch-fork.h index 2919ccf..70f1b19 100644 --- a/sysdeps/unix/sysv/linux/i386/fork.h +++ b/sysdeps/unix/sysv/linux/i386/arch-fork.h @@ -18,10 +18,10 @@ . */ #include +#include +#include #define ARCH_FORK() \ INLINE_SYSCALL (clone, 5, \ CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \ NULL, NULL, &THREAD_SELF->tid) - -#include_next diff --git a/sysdeps/unix/sysv/linux/mips/arch-fork.h b/sysdeps/unix/sysv/linux/mips/arch-fork.h new file mode 100644 index 0000000..5f94537 --- /dev/null +++ b/sysdeps/unix/sysv/linux/mips/arch-fork.h @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/mips/fork.h b/sysdeps/unix/sysv/linux/mips/fork.h deleted file mode 100644 index 14b238a..0000000 --- a/sysdeps/unix/sysv/linux/mips/fork.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/powerpc/arch-fork.h b/sysdeps/unix/sysv/linux/powerpc/arch-fork.h new file mode 100644 index 0000000..5f94537 --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/arch-fork.h @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/powerpc/fork.h b/sysdeps/unix/sysv/linux/powerpc/fork.h deleted file mode 100644 index 14b238a..0000000 --- a/sysdeps/unix/sysv/linux/powerpc/fork.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/sysv/linux/x86_64/fork.h b/sysdeps/unix/sysv/linux/x86_64/arch-fork.h similarity index 96% rename from sysdeps/unix/sysv/linux/x86_64/fork.h rename to sysdeps/unix/sysv/linux/x86_64/arch-fork.h index 1bd5301..97b866b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/fork.h +++ b/sysdeps/unix/sysv/linux/x86_64/arch-fork.h @@ -18,10 +18,10 @@ . */ #include +#include +#include #define ARCH_FORK() \ INLINE_SYSCALL (clone, 4, \ CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \ NULL, &THREAD_SELF->tid) - -#include_next