Staging: rt2870: Revert d44ca7 Removal of kernel_thread() API
authorMike Galbraith <efault@gmx.de>
Fri, 31 Jul 2009 05:14:04 +0000 (07:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Aug 2009 23:12:02 +0000 (16:12 -0700)
commit2c63abf9e8a51dec886da482dfd8ae752581a61c
tree05bb3f69ae9cfe205e5f30353237e8089736c3b9
parent4d2da07bc876fc5bc455e0721df388a3db7e4ba5
Staging: rt2870: Revert d44ca7 Removal of kernel_thread() API

Staging: rt2870: Revert d44ca7 Removal of kernel_thread() API

The sanity check this patch introduced triggers on shutdown, apparently due to
threads having already exited by the time BUG_ON() is reached.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Teoh <htmldeveloper@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/rt_linux.h
drivers/staging/rt2870/2870_main_dev.c
drivers/staging/rt2870/common/2870_rtmp_init.c
drivers/staging/rt2870/common/rtusb_io.c
drivers/staging/rt2870/rt2870.h