summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-05-27 12:58:01 -0700
committerRoland McGrath <roland@hack.frob.com>2014-05-27 12:58:01 -0700
commita6bea3ca7b86de9dd5c7468984173f32e35a59bb (patch)
tree359a2b8187ede5168dd1b94fd26af506dd778365
parent3dfb9a5cbee3232cb38237f65759b6f230e790c0 (diff)
SH: Convert fork.c to arch-fork.h
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sh/arch-fork.h (renamed from nptl/sysdeps/unix/sysv/linux/sh/fork.c)5
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ddd69b2a0..3d11ba1e3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-27 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
+ * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
+
2014-05-27 Ondřej Bílka <neleai@seznam.cz>
* elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/fork.c b/sysdeps/unix/sysv/linux/sh/arch-fork.h
index 60d3b86828..a1864de415 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/fork.c
+++ b/sysdeps/unix/sysv/linux/sh/arch-fork.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
+/* ARCH_FORK definition for Linux fork implementation. SH version.
+ Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,5 +26,3 @@
INLINE_SYSCALL (clone, 5, \
CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0, \
NULL, &THREAD_SELF->tid, NULL)
-
-#include "../fork.c"