aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2009-12-18 20:30:11 -0800
committerDavid S. Miller <davem@davemloft.net>2009-12-18 20:30:11 -0800
commit01a1e7ec6c3769dc7c5fde23ebc253c6be5f68eb (patch)
tree0676c75d19f393194c0053af06b5aa95f6bfe388 /drivers/isdn
parentbnx2: reset_task is crashing the kernel. Fixing it. (diff)
downloadlinux-dev-01a1e7ec6c3769dc7c5fde23ebc253c6be5f68eb.tar.xz
linux-dev-01a1e7ec6c3769dc7c5fde23ebc253c6be5f68eb.zip
mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion
The _ONSTACK variant should be used for on-stack completion, otherwise it will break lockdep. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Acked-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/mISDN/l1oip_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c
index 7e5f30dbc0a0..f1e8af54dff0 100644
--- a/drivers/isdn/mISDN/l1oip_core.c
+++ b/drivers/isdn/mISDN/l1oip_core.c
@@ -661,7 +661,7 @@ l1oip_socket_thread(void *data)
size_t recvbuf_size = 1500;
int recvlen;
struct socket *socket = NULL;
- DECLARE_COMPLETION(wait);
+ DECLARE_COMPLETION_ONSTACK(wait);
/* allocate buffer memory */
recvbuf = kmalloc(recvbuf_size, GFP_KERNEL);