diff options
| author | 2012-07-15 23:14:37 +0530 | |
|---|---|---|
| committer | 2012-07-16 19:24:46 -0700 | |
| commit | 71063199213795b886329f3e8e02ad6c1589efea (patch) | |
| tree | da471ed84fe09766f0f78d3245504f2bcf82bff8 /kernel/trace/trace_functions.c | |
| parent | staging/wlan-ng: use kzalloc rather using kmalloc at create_wlan (diff) | |
| download | wireguard-linux-71063199213795b886329f3e8e02ad6c1589efea.tar.xz wireguard-linux-71063199213795b886329f3e8e02ad6c1589efea.zip | |
staging/rts_pstor: use kthread_run instead doing kthread_create and wake_up_process
with kthread_create we need to call wake_up_process to run the thread,
this can be done using the macro kthread_run, which creates and if thread
creation is succeeded starts the thread by calling wake_up_process,
and also there are two more threads in the rts_pstor, which calls
kthread_run instead calling kthread_create and another call to the
wake_up_process, so with this change the creation of rtsx_scan_thread
will be in consistency with the other control and poll threads.
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
