diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2020-05-12 19:15:26 +0200 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2020-06-23 10:49:56 +0200 |
commit | a4261d4bb45022e1b8b95df13dbb05abac490165 (patch) | |
tree | 72504dbe0f99175dbed9f47851dcb114f8036282 /arch/sparc/vdso | |
parent | sparc64: enable HAVE_COPY_THREAD_TLS (diff) | |
download | linux-a4261d4bb45022e1b8b95df13dbb05abac490165.tar.xz linux-a4261d4bb45022e1b8b95df13dbb05abac490165.zip |
sparc: share process creation helpers between sparc and sparc64
As promised in the previous patch, this moves the process creation
helpers into a common process.c file that is shared between sparc and
sparc64. It allows us to get rid of quite a bit custom assembler and the
to remove the separe 32bit specific sparc_do_fork() call.
One thing to note, is that when clone() was called with a separate stack
for the child the assembler would align it. But copy_thread() has always
been doing that too so that line wasn't needed and can thus simply be
removed.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Guo Ren <guoren@kernel.org>
Cc: linux-csky@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: sparclinux@vger.kernel.org
Link: https://lore.kernel.org/r/20200512171527.570109-3-christian.brauner@ubuntu.com
Diffstat (limited to 'arch/sparc/vdso')
0 files changed, 0 insertions, 0 deletions