From: Devendra Naga Date: Thu, 19 Feb 2015 19:08:31 +0000 (-0500) Subject: unisys: use simpler kthread_ API X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~857 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18216fefbe26e95189c6628fde731ff1b239a7f6;p=pandora-kernel.git unisys: use simpler kthread_ API The code does the checks on should_stop variable in the kernel threads. The uisthread_stop function sets the should_stop and calls KILL (eventually kill_pid) to stop the thread. The checking of should_stop variable can be replaced to a call to kthread_should_stop function and the setting of the should_stop and a call to KILL can be replaced with kthread_stop function. Cc: Ken Cox Cc: Benjamin Romer Signed-off-by: Devendra Naga Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed