]> git.baikalelectronics.ru Git - kernel.git/commit
USB: mos7840: remove smp barriers from icount handling
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:15 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:24 +0000 (13:52 -0700)
commit40825a850121343d944cab9539c3710f361ef816
tree3415517cb5833e8f377c544f94e0e107bdd73d5e
parentb4490fde82dbe49e0efa3a878e792d0c3632e877
USB: mos7840: remove smp barriers from icount handling

Remove SMP memory barriers from icount handling and rely on the barriers
implied by wait_event, sleep and locks, while using the port lock to
guarantee atomicity.

This is a step in moving over to the generic icount implementations.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c