[RFC PATCH 0/5] unisys: kthread cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux