]> 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)
commitce526582000211f43e55b493d9f4cb0b7db8c794
tree3415517cb5833e8f377c544f94e0e107bdd73d5e
parent3f019f40212395b82cb1fa8443c7c575f12aae31
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