• Miles Bader's avatar
    [PATCH] Set child process initial stack-pointers correctly on the v850 · 9fa2b7c4
    Miles Bader authored
    Previously the v850's copy_thread function didn't set the child's stack
    pointer at all, with the result that it accidentally worked for vfork
    (where the child has the same SP as the parent), but not for user
    threads; kernel threads also accidentally worked, for a different
    reason.
    9fa2b7c4
process.c 7.27 KB