hci_usb: replace mb with smp_mb
authorMing Lei <tom.leiming@gmail.com>
Tue, 23 Sep 2008 02:21:51 +0000 (19:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 02:21:51 +0000 (19:21 -0700)
commitca330c5a913a9b1690c709f4cfcd6be0c8696b14
tree372e4320da2dea602dc9c26ff2411cd82260fedb
parentd48abfecea8513cfd2fd7e341439c1b8a28e9ff4
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>
drivers/bluetooth/hci_usb.h