uml: kernel_thread shouldn't panic
commitccdddb57874522e6b267204f9c5e94ba7d9d66b0
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:23 +0000 (6 14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:02 +0000 (7 12:13 -0700)
tree87393f6e7126564c6805868a2b980730ac246898
parent1ffb9164f51094b7105ce9f81600b222ddf5b82c
uml: kernel_thread shouldn't panic

kernel_thread() should just return an error value on do_fork failure, not
panic.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/process.c