Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5919586 authored by Ralf Baechle's avatar Ralf Baechle Committed by Jeff Garzik
Browse files

[PATCH] AX.25: Convert mkiss.c to DEFINE_RWLOCK



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarRalf Baechle DL5RB <ralf@linux-mips.org>

 drivers/net/hamradio/mkiss.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 96eb549c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ static void ax_setup(struct net_device *dev)
 * best way to fix this is to use a rwlock in the tty struct, but for now we
 * use a single global rwlock for all ttys in ppp line discipline.
 */
static rwlock_t disc_data_lock = RW_LOCK_UNLOCKED;
static DEFINE_RWLOCK(disc_data_lock);

static struct mkiss *mkiss_get(struct tty_struct *tty)
{