]> git.hungrycats.org Git - linux/commit
[PATCH] Set child process initial stack-pointers correctly on the v850
authorMiles Bader <miles@lsi.nec.co.jp>
Tue, 18 Feb 2003 13:39:12 +0000 (05:39 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Feb 2003 13:39:12 +0000 (05:39 -0800)
commit9fa2b7c4821f5915c950b5270c3d92c505982e7f
tree4373543521b6abe00798c34a351b1919efbd2a1e
parent59c336eef75058f49d4d691218894f93ddee14c5
[PATCH] Set child process initial stack-pointers correctly on the v850

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.
arch/v850/kernel/process.c