summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-30 13:06:58 +0300
committerJohan Hovold <johan@kernel.org>2020-02-10 12:37:11 +0300
commit32553441569482e36e65371edb84494bcec53c03 (patch)
tree193e5d5e115f4b49f514feb5aa4565e692ac1b4d /lib/mpi/mpiutil.c
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff)
downloadlinux-32553441569482e36e65371edb84494bcec53c03.tar.xz
USB: serial: relax unthrottle memory barrier
Commit a8d78d9f3856 ("USB: serial: clean up throttle handling") converted the throttle handling to use atomic bitops. This means that we can relax the smp_mb() in unthrottle() to smp_mb__after_atomic(), which for example is a no-op on architectures like x86 that provide fully ordered atomics. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions