commit | ca330c5a913a9b1690c709f4cfcd6be0c8696b14 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Mon Sep 22 19:21:51 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 22 19:21:51 2008 -0700 |
tree | 372e4320da2dea602dc9c26ff2411cd82260fedb | |
parent | d48abfecea8513cfd2fd7e341439c1b8a28e9ff4 [diff] |
hci_usb: replace mb with smp_mb smp_mb is enough for ordering memory operations among processors,and mb is more expensive than smp_mb for UP machine, so replace it with smp_mb(). Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>