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

Jason Cooper jason at lakedaemon.net
Fri Oct 8 14:44:23 PDT 2010


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(-)



More information about the devel mailing list