summaryrefslogtreecommitdiff
path: root/drivers/dma/iovlock.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner@tuebingen.mpg.de>2011-02-21 05:42:01 +0100
committerDave Airlie <airlied@redhat.com>2011-02-23 10:08:46 +1000
commitbc21512835a72bc1eab7abd7d8a1bff0435591d7 (patch)
tree015b9212d6fbd176dcbe141d5d96ee30d4bf1a76 /drivers/dma/iovlock.c
parentc4cc383915549cf14f027f374904e30c13653dac (diff)
drm/vblank: Use memory barriers optimized for atomic_t instead of generics.
Documentation/atomic_ops.txt tells us that there are memory barriers optimized for atomic_inc and other atomic_t ops. Use these instead of smp_wmb(), and also to make the required memory barriers around vblank counter increments more explicit. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/dma/iovlock.c')
0 files changed, 0 insertions, 0 deletions