nds32: Process management
authorGreentime Hu <greentime@andestech.com>
Tue, 24 Oct 2017 07:47:50 +0000 (15:47 +0800)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Feb 2018 02:44:32 +0000 (10:44 +0800)
commita15e9ffa877852e529db33cc615c132bad2fc60a
treec6a8f4eb446a368a79327835de1051031327e3d2
parent7de9cf474083bfbba469f72dc208f7b51747632d
nds32: Process management

This patch includes copy_thread(), start_thread() implementation and cpu_context
structure definition. nds32 uses $r25 to get current task_struct.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/include/asm/current.h [new file with mode: 0644]
arch/nds32/include/asm/processor.h [new file with mode: 0644]
arch/nds32/include/asm/thread_info.h [new file with mode: 0644]
arch/nds32/kernel/process.c [new file with mode: 0644]