Split arch-fork.h from fork.h
This commit is contained in:
parent
d51d659d11
commit
def4bcb29d
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2014-05-16 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* 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 <allan@archlinux.org>
|
||||
|
||||
* po/sv.po: Update Swedish translation from translation project.
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <atomic.h>
|
||||
#include <pthreadP.h>
|
||||
#include <fork.h>
|
||||
#include <arch-fork.h>
|
||||
|
||||
|
||||
unsigned long int *__fork_generation_pointer;
|
||||
|
@ -18,10 +18,10 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sched.h>
|
||||
#include <sysdep.h>
|
||||
#include <tls.h>
|
||||
|
||||
#define ARCH_FORK() \
|
||||
INLINE_SYSCALL (clone, 5, \
|
||||
CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \
|
||||
NULL, NULL, &THREAD_SELF->tid)
|
||||
|
||||
#include_next <fork.h>
|
1
sysdeps/unix/sysv/linux/mips/arch-fork.h
Normal file
1
sysdeps/unix/sysv/linux/mips/arch-fork.h
Normal file
@ -0,0 +1 @@
|
||||
#include <sysdeps/unix/sysv/linux/i386/arch-fork.h>
|
@ -1 +0,0 @@
|
||||
#include <sysdeps/unix/sysv/linux/i386/fork.h>
|
1
sysdeps/unix/sysv/linux/powerpc/arch-fork.h
Normal file
1
sysdeps/unix/sysv/linux/powerpc/arch-fork.h
Normal file
@ -0,0 +1 @@
|
||||
#include <sysdeps/unix/sysv/linux/i386/arch-fork.h>
|
@ -1 +0,0 @@
|
||||
#include <sysdeps/unix/sysv/linux/i386/fork.h>
|
@ -18,10 +18,10 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sched.h>
|
||||
#include <sysdep.h>
|
||||
#include <tls.h>
|
||||
|
||||
#define ARCH_FORK() \
|
||||
INLINE_SYSCALL (clone, 4, \
|
||||
CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \
|
||||
NULL, &THREAD_SELF->tid)
|
||||
|
||||
#include_next <fork.h>
|
Loading…
x
Reference in New Issue
Block a user