[PATCH 0/6 v3] brcm80211: kernel_thread() removal.

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

 



Greg, all,

This series removes all of the calls to kernel_thread().  At the
recommendation of Jiri, also removed all reference to pid, KILL_PROC,
DAEMONIZE, completion, and various completion structs.

The third version correctly handles the return value of kthread_run().  So,
all task_struct's behave as follows:
	1) NULL when not in use.
	2) -ENOMEM when kthread_run() fails.
	3) otherwise, valid and running.

Also, at Jiri's recommendation, removed BLOCKABLE(), which was not used,
because it wouldn't do what the author intended.

Each patch compile tested, please sanity check...

thx,

Jason.

Jason Cooper (6):
  staging: brcm80211: remove kernel_thread() for dhd_watchdog_thread.
  staging: brcm80211: remove kernel_thread() for dhd_dpc_thread.
  staging: brcm80211: remove kernel_thread() for _dhd_sysioc_thread.
  staging: brcm80211: remove kernel_thread() for _iscan_sysioc_thread.
  staging: brcm80211: remove kernel_thread() for wl_iscan_thread and
    wl_event_thread.
  staging: brcm80211: remove BLOCKABLE so no one uses it.

 drivers/staging/brcm80211/brcmfmac/dhd_linux.c   |  106 +++++++++++-----------
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c |   42 +++++----
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h |    6 +-
 drivers/staging/brcm80211/brcmfmac/wl_iw.c       |   44 +++++-----
 4 files changed, 99 insertions(+), 99 deletions(-)

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