]> git.baikalelectronics.ru Git - kernel.git/commit
synclink: reworking locking a bit
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:50 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:41 +0000 (13:47 -0700)
commit8792bff91ddf3417ee7a0b91418f55a71242e338
treebe45781b50fb44586694e265d9ec113e481809f5
parent096dbe382856269138e163bf491293617fc1cca1
synclink: reworking locking a bit

Use the port mutex and port lock to fix the various races. The locking
still isn't totally consistent but its better than before. Wants switching
to the port helpers.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/synclink_gt.c
drivers/char/synclinkmp.c