async: Handle kthread_run() return codes.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 19 Jan 2009 12:45:31 +0000 (13:45 +0100)
committerArjan van de Ven <arjan@linux.intel.com>
Sun, 8 Feb 2009 17:56:10 +0000 (09:56 -0800)
commit86532d8b167e71e24da8b564348b52977b76d15f
tree86cfa88409db2867ddfc45322f7cd3175b6accad
parent7a89bbc74937cd74a6bcf109cfc7c032109639be
async: Handle kthread_run() return codes.

If we fail to create the manager thread, fall back to non-fastboot.
If we fail to create an async thread, try again after waiting for
a bit.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
kernel/async.c