dragon-nx32: Get dofork() into shape
authorTormod Volden <debian.tormod@gmail.com>
Sun, 19 Apr 2015 16:43:41 +0000 (18:43 +0200)
committerAlan Cox <alan@linux.intel.com>
Sun, 19 Apr 2015 17:45:46 +0000 (18:45 +0100)
commit6e2eafec26b611d496ac18a904e2bcf94ab714d3
treebfe76d5b8b711c53b02e616684f339abc04570e9
parent8bd86c8188b317f7a2ddea079fb0692e70d4fea0
dragon-nx32: Get dofork() into shape

Copy the process memory into the new process memory.
Prepare the old process to come back as if it was
switched out. And return zero in child process.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/tricks.s