On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote:
> +void machine_restart(char *__unused)
> +{
> + /*
> +* Clean and disable cache, and turn off interrupts
> +*/
> + cpu_proc_fin();
> +
> + /*
> +* Tell the mm system that we are going to reboot -
> +
From: Greentime Hu
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
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/current.h | 12 ++
arch/nds32/include/