From: Peter Teoh Date: Fri, 20 Mar 2009 18:20:23 +0000 (+0800) Subject: Staging: rt2870: Removal of kernel_thread() API X-Git-Tag: v2.6.30-rc1~202^2~507 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d44ca7af9e79abf4e80514583734cffed1117ee1;p=pandora-kernel.git Staging: rt2870: Removal of kernel_thread() API Replacing the use of kernel_thread() with kthread_run(). But as kthread_run() returned a task structure, as compared with kernel_thread() returning a PID, it was found to be more efficient to store the task structure pointer as a field data instead of PID pointer. On top of modifying the field to store task structure pointer, the initialization of the field (assigned to THREAD_PID_INIT_VALUE) was also found unnecessary - as no where it is found to be used. Signed-off-by: Peter Teoh Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed