OSDN Git Service

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)
commitc9fac85345ca8fd7f6519232a4c0024f648647b5
tree3415517cb5833e8f377c544f94e0e107bdd73d5e
parent35711578044076d00d396cb6787d3cc593a4c35a
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