SH: Convert fork.c to arch-fork.h
authorRoland McGrath <roland@hack.frob.com>
Tue, 27 May 2014 19:58:01 +0000 (12:58 -0700)
committerRoland McGrath <roland@hack.frob.com>
Tue, 27 May 2014 19:58:01 +0000 (12:58 -0700)
ChangeLog
sysdeps/unix/sysv/linux/sh/arch-fork.h [moved from nptl/sysdeps/unix/sysv/linux/sh/fork.c with 89% similarity]

index 3ddd69b..3d11ba1 100644 (file)
--- 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.
similarity index 89%
rename from nptl/sysdeps/unix/sysv/linux/sh/fork.c
rename to sysdeps/unix/sysv/linux/sh/arch-fork.h
index 60d3b86..a1864de 100644 (file)
@@ -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"