summaryrefslogtreecommitdiffstats
path: root/kernel/semaphore.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2008-09-22 19:21:51 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-22 19:21:51 -0700
commitca330c5a913a9b1690c709f4cfcd6be0c8696b14 (patch)
tree372e4320da2dea602dc9c26ff2411cd82260fedb /kernel/semaphore.c
parentd48abfecea8513cfd2fd7e341439c1b8a28e9ff4 (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>
Diffstat (limited to 'kernel/semaphore.c')
0 files changed, 0 insertions, 0 deletions