From: David S. Miller Date: Fri, 27 Apr 2007 03:39:14 +0000 (-0700) Subject: [AFS]: Eliminate cmpxchg() usage in vlocation code. X-Git-Tag: v2.6.22-rc1~1128^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39bf09493042200b967cdf2ee6e3f670b7963903;p=pandora-kernel.git [AFS]: Eliminate cmpxchg() usage in vlocation code. 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 --- Reading git-diff-tree failed