]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tty: moxa: rework the locking a bit
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:57 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commitf5c5a36d27ae6d9e03c2f1b7890942bf84e92c5b
tree169cdf790a4938c504b0968e83d5d09ad402e554
parentf176178ba09d27cc33988435e2c9fe078b44998c
tty: moxa: rework the locking a bit

Introduce a lock for moxafunc() to protect the cases where were get collisions
between two function requests at the same time.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/moxa.c