The 1st patch (replace kthread_create..) replace the
kthread_create and wake_up_process with a call to
kthread_run.

The 2nd patch changes the library API uisthread_start
and uisthread_stop to use the kthread API.

The 3rd patch and 4th patch checks on kthread_should_stop
instead of checking should_stop variable.

The 5th patch removes the variables should_stop and
KILL as they are no longer required.


All patches applies on next-20150120 cleanly. All the patches are
compile tested on X86_64 allmodconfig.

Cc: Ken Cox <j...@redhat.com>
Cc: Benjamin Romer <benjamin.ro...@unisys.com>

Devendra Naga (5):
  unisys: replace kthread_create and wake_up_process with kthread_run
  unisys: use simpler kthread_ API
  unisys: use kthread_should_stop in the thread
  unisys: use kthread_should_stop API in the lib thread
  unisys: remove the thread variable and API

 drivers/staging/unisys/include/uisthread.h |  1 -
 drivers/staging/unisys/uislib/uislib.c     |  4 ++--
 drivers/staging/unisys/uislib/uisthread.c  | 25 ++++++++-----------------
 drivers/staging/unisys/virthba/virthba.c   |  4 ++--
 4 files changed, 12 insertions(+), 22 deletions(-)

-- 
1.9.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to