summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/bnep/bnep.h
diff options
context:
space:
mode:
authorSzymon Janc2011-03-21 14:20:00 +0100
committerGustavo F. Padovan2011-04-05 17:40:47 +0200
commitf4d7cd4a4c25cb4a5c30a675d4cc0052c93b925a (patch)
treedfefefd66cf0383a438dce4bf12520611cb488f1 /net/bluetooth/bnep/bnep.h
parentBluetooth: Use kthread API in hidp (diff)
downloadkernel-qcow2-linux-f4d7cd4a4c25cb4a5c30a675d4cc0052c93b925a.tar.gz
kernel-qcow2-linux-f4d7cd4a4c25cb4a5c30a675d4cc0052c93b925a.tar.xz
kernel-qcow2-linux-f4d7cd4a4c25cb4a5c30a675d4cc0052c93b925a.zip
Bluetooth: Use kthread API in bnep
kernel_thread() is a low-level implementation detail and EXPORT_SYMBOL(kernel_thread) is scheduled for removal. Use the <linux/kthread.h> API instead. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/bnep/bnep.h')
-rw-r--r--net/bluetooth/bnep/bnep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/bnep/bnep.h b/net/bluetooth/bnep/bnep.h
index d768e0434ed8..8e6c06158f8e 100644
--- a/net/bluetooth/bnep/bnep.h
+++ b/net/bluetooth/bnep/bnep.h
@@ -155,7 +155,7 @@ struct bnep_session {
unsigned int role;
unsigned long state;
unsigned long flags;
- atomic_t killed;
+ struct task_struct *task;
struct ethhdr eh;
struct msghdr msg;