git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c708f
)
[AFS]: Eliminate cmpxchg() usage in vlocation code.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 27 Apr 2007 03:39:14 +0000
(20:39 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 27 Apr 2007 03:39:14 +0000
(20:39 -0700)
cmpxchg() is not available on every processor so can't
be used in generic code.
Replace with spinlock protection on the ->state changes,
wakeups, and wait loops.
Add what appears to be a missing wakeup on transition
to AFS_VL_VALID state in afs_vlocation_updater().
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found