summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2003-05-18 21:45:28 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-18 21:45:28 -0700
commit7196d9dfecaff4a8027fa706c6785bed06fb30cd (patch)
treeff80e409f82fb1b4c6521832138016b6df0025d2 /include/linux/stringify.h
parentc6b523ab3aed9b6a183e7a9982f11eda9567af96 (diff)
[PATCH] fix do_fork() return value
Noticed by Julie DeWandel <jdewand@redhat.com>. do_fork() needs to return the pid (or error), not the pointer to the resulting process structure. The process structure may not even be valid any more, since do_fork() has already woken the process up (and as a result it might already have done its thing and gone away). Besides, doing it this way cleans up the users, which all really just wanted the pid or error number _anyway_. This fixes the x86 users, other architectures need to be fixed up as well.
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions