aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irnet/irnet.h
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel@sortiz.org>2010-10-04 19:24:20 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-10 20:11:34 -0400
commitf8cba16cad68c9b9ee7fecae48a1b91708e8e482 (patch)
treeeda3b276c3d5ff8a380b2553f6e8551e7f9a7075 /net/irda/irnet/irnet.h
parent5b40964eadea40509d353318d2c82e8b7bf5e8a5 (diff)
irda: Remove BKL instances from irnet
The code intends to lock the irnet_socket, so adding a mutex to it allows for a complet BKL removal. Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Diffstat (limited to 'net/irda/irnet/irnet.h')
-rw-r--r--net/irda/irnet/irnet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h
index 4300df35d37d..0d82ff5aeff1 100644
--- a/net/irda/irnet/irnet.h
+++ b/net/irda/irnet/irnet.h
@@ -458,6 +458,8 @@ typedef struct irnet_socket
458 int disco_index; /* Last read in the discovery log */ 458 int disco_index; /* Last read in the discovery log */
459 int disco_number; /* Size of the discovery log */ 459 int disco_number; /* Size of the discovery log */
460 460
461 struct mutex lock;
462
461} irnet_socket; 463} irnet_socket;
462 464
463/* 465/*