summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2009-04-01 10:20:20 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-02 09:52:22 +0200
commit8cbd9606a6367c221a7bbcc47f3ab1a8c31b6437 (patch)
tree9ff2adf88be32383fd59dc133f1cd6670b9ee815 /drivers/media
parentRDS: Rewrite connection cleanup, fixing oops on rmmod (diff)
downloadlinux-8cbd9606a6367c221a7bbcc47f3ab1a8c31b6437.tar.xz
linux-8cbd9606a6367c221a7bbcc47f3ab1a8c31b6437.zip
RDS: Use spinlock to protect 64b value update on 32b archs
We have a 64bit value that needs to be set atomically. This is easy and quick on all 64bit archs, and can also be done on x86/32 with set_64bit() (uses cmpxchg8b). However other 32b archs don't have this. I actually changed this to the current state in preparation for mainline because the old way (using a spinlock on 32b) resulted in unsightly #ifdefs in the code. But obviously, being correct takes precedence. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions