mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-26 13:21:07 +03:00
SPARC: Convert fork.c to arch-fork.h
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2014-06-12 Roland McGrath <roland@hack.frob.com>
|
2014-06-12 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
|
||||||
|
* nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
|
||||||
|
|
||||||
* sysdeps/pthread/posix-timer.h: Include <list.h>.
|
* sysdeps/pthread/posix-timer.h: Include <list.h>.
|
||||||
(struct list_links): Type removed.
|
(struct list_links): Type removed.
|
||||||
(struct thread_node, struct timer_node): Replace struct list_links
|
(struct thread_node, struct timer_node): Replace struct list_links
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
|
/* ARCH_FORK definition for Linux fork implementation. SPARC version.
|
||||||
|
Copyright (C) 2003-2014 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
|
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
|
||||||
|
|
||||||
@ -24,5 +25,3 @@
|
|||||||
#define ARCH_FORK() \
|
#define ARCH_FORK() \
|
||||||
INLINE_CLONE_SYSCALL (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, \
|
INLINE_CLONE_SYSCALL (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, \
|
||||||
0, NULL, NULL, &THREAD_SELF->tid)
|
0, NULL, NULL, &THREAD_SELF->tid)
|
||||||
|
|
||||||
#include "../fork.c"
|
|
Reference in New Issue
Block a user